Skip to content
docs

ExpectedBuild

ExpectedBuild = { amount: bigint; owner: string; to: string; type: "TransferContract"; } | { callValue: bigint; contract: string; data: string; feeLimit: bigint; owner: string; type: "TriggerSmartContract"; }

Defined in: wallet-tron/src/build-check.ts:15

What the wallet asked the node to build. Addresses in any form; numbers in sun.

{ amount: bigint; owner: string; to: string; type: "TransferContract"; }


{ callValue: bigint; contract: string; data: string; feeLimit: bigint; owner: string; type: "TriggerSmartContract"; }

callValue: bigint

contract: string

data: string

selector ‖ ABI-encoded parameters, hex (0x optional, any case).

feeLimit: bigint

The fee_limit actually POSTed to /wallet/triggersmartcontract.

owner: string

type: "TriggerSmartContract"