SymbiosisTronCall
Defined in: protocol-swap2-symbiosis/src/provider.ts:233
What an app needs to sign a Tron-source quote itself.
Properties
Section titled “Properties”approval
Section titled “approval”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
Section titled “callValue”callValue:
string
contract
Section titled “contract”contract:
string
feeLimit
Section titled “feeLimit”feeLimit:
number
functionSelector
Section titled “functionSelector”functionSelector:
string
owner:
string
parameter
Section titled “parameter”parameter:
string
expected
Section titled “expected”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
Section titled “callValue”callValue:
bigint
contract
Section titled “contract”contract:
string
data:
string
feeLimit
Section titled “feeLimit”feeLimit:
bigint
owner:
string
type:
"TriggerSmartContract"