Updated on 2026-08-14
This commit is contained in:
parent
fd7ac00fd4
commit
ddecdf444d
5 changed files with 49 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ data class ActionRequestBodyArgs(
|
|||
@Json(name = "ledgerWalletAPICompatible")
|
||||
val ledgerWalletAPICompatible: Boolean? = null,
|
||||
@Json(name = "tronResource")
|
||||
val tronResource: String? = null,
|
||||
val tronResource: TronResource? = null,
|
||||
@Json(name = "signatureVerification")
|
||||
val signatureVerification: SignatureVerification? = null,
|
||||
@Json(name = "inputToken")
|
||||
|
|
@ -60,4 +60,12 @@ data class SignatureVerification(
|
|||
val message: String,
|
||||
@Json(name = "signed")
|
||||
val signed: String,
|
||||
)
|
||||
)
|
||||
|
||||
enum class TronResource {
|
||||
@Json(name = "ENERGY")
|
||||
ENERGY,
|
||||
|
||||
@Json(name = "BANDWIDTH")
|
||||
BANDWIDTH,
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package com.tangem.datasource.api.stakekit.models.response.model.transaction.tron
|
||||
|
||||
import com.squareup.moshi.Json
|
||||
import com.squareup.moshi.JsonClass
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class TronStakeKitTransaction(
|
||||
@Json(name = "raw_data_hex")
|
||||
val rawDataHex: String,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue