Skip to main content

Interface: TronTransaction

Common fields for all cryptocurrency transactions

Hierarchy

Properties

amount

amount: BigNumber

The amount of token to send in the transaction, denoted in the smallest cryptocurrency's magnitude For example in BTC, a tx with an 'amount' field of 1 will correspond to a tx corresponding to 0.00000001 BTC

Inherited from

TransactionCommon.amount

Defined in

packages/core/lib/families/types.d.ts:39


duration

Optional duration: number

Defined in

packages/core/lib/families/tron/types.d.ts:10


family

Readonly family: "tron"

The family of the transaction

Overrides

TransactionCommon.family

Defined in

packages/core/lib/families/tron/types.d.ts:7


mode

mode: "send" | "claimReward" | "freeze" | "unfreeze" | "vote"

Defined in

packages/core/lib/families/tron/types.d.ts:8


recipient

recipient: string

The address of the transaction's recipient

Inherited from

TransactionCommon.recipient

Defined in

packages/core/lib/families/types.d.ts:43


resource

Optional resource: "BANDWIDTH" | "ENERGY"

Defined in

packages/core/lib/families/tron/types.d.ts:9