Skip to content
docs

TronTxDescription

Defined in: wallet-tron/src/types.ts:183

What a transaction does, decoded offline (see describeTransaction). Addresses are base58.

optional amount?: bigint

Defined in: wallet-tron/src/types.ts:192

sun (TRX) or token base units (TRC-20) or frozen/unfrozen sun.


optional callValue?: bigint

Defined in: wallet-tron/src/types.ts:202

sun attached to the call.


optional contract?: string

Defined in: wallet-tron/src/types.ts:198

Called contract (contract-call).


optional expiration?: number

Defined in: wallet-tron/src/types.ts:208


optional feeLimit?: number

Defined in: wallet-tron/src/types.ts:203


optional from?: 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.


optional memo?: string

Defined in: wallet-tron/src/types.ts:205

Decoded memo (raw_data.data).


optional resource?: "BANDWIDTH" | "ENERGY"

Defined in: wallet-tron/src/types.ts:207

Freeze / unfreeze resource.


optional selector?: string

Defined in: wallet-tron/src/types.ts:200

4-byte selector, hex.


optional spender?: string

Defined in: wallet-tron/src/types.ts:196

Spender of a TRC-20 approval.


optional to?: string

Defined in: wallet-tron/src/types.ts:190

TRX / TRC-20 recipient.


optional token?: string

Defined in: wallet-tron/src/types.ts:194

TRC-20 contract.


warnings: TronTxWarning[]

Defined in: wallet-tron/src/types.ts:186