TronTxDescription
Defined in: wallet-tron/src/types.ts:183
What a transaction does, decoded offline (see describeTransaction). Addresses are base58.
Properties
Section titled “Properties”amount?
Section titled “amount?”
optionalamount?:bigint
Defined in: wallet-tron/src/types.ts:192
sun (TRX) or token base units (TRC-20) or frozen/unfrozen sun.
callValue?
Section titled “callValue?”
optionalcallValue?:bigint
Defined in: wallet-tron/src/types.ts:202
sun attached to the call.
contract?
Section titled “contract?”
optionalcontract?:string
Defined in: wallet-tron/src/types.ts:198
Called contract (contract-call).
expiration?
Section titled “expiration?”
optionalexpiration?:number
Defined in: wallet-tron/src/types.ts:208
feeLimit?
Section titled “feeLimit?”
optionalfeeLimit?:number
Defined in: wallet-tron/src/types.ts:203
optionalfrom?:string
Defined in: wallet-tron/src/types.ts:188
Sender (owner_address) when known.
kind:
TronTxKind
Defined in: wallet-tron/src/types.ts:185
What it does.
optionalmemo?:string
Defined in: wallet-tron/src/types.ts:205
Decoded memo (raw_data.data).
resource?
Section titled “resource?”
optionalresource?:"BANDWIDTH"|"ENERGY"
Defined in: wallet-tron/src/types.ts:207
Freeze / unfreeze resource.
selector?
Section titled “selector?”
optionalselector?:string
Defined in: wallet-tron/src/types.ts:200
4-byte selector, hex.
spender?
Section titled “spender?”
optionalspender?:string
Defined in: wallet-tron/src/types.ts:196
Spender of a TRC-20 approval.
optionalto?:string
Defined in: wallet-tron/src/types.ts:190
TRX / TRC-20 recipient.
token?
Section titled “token?”
optionaltoken?:string
Defined in: wallet-tron/src/types.ts:194
TRC-20 contract.
warnings
Section titled “warnings”warnings:
TronTxWarning[]
Defined in: wallet-tron/src/types.ts:186