Skip to content
docs

SymbiosisTronCall

Defined in: protocol-swap2-symbiosis/src/provider.ts:233

What an app needs to sign a Tron-source quote itself.

approval: { amount: string; spender: string; token: string; } | null

Defined in: protocol-swap2-symbiosis/src/provider.ts:235

The TRC-20 approval the gateway needs first; null for a TRX sale.


call: object

Defined in: protocol-swap2-symbiosis/src/provider.ts:237

POST /wallet/triggersmartcontract (visible: false is implied by the hex addresses a wallet sends).

callValue: string

contract: string

feeLimit: number

functionSelector: string

owner: string

parameter: string


expected: object

Defined in: protocol-swap2-symbiosis/src/provider.ts:243

What the node’s answer must be, byte for byte — the shape assertNodeBuild of @anywalletkit/wallet-tron takes: one TriggerSmartContract by the owner on the pinned gateway with exactly this calldata, call value and fee limit.

callValue: bigint

contract: string

data: string

feeLimit: bigint

owner: string

type: "TriggerSmartContract"