TokenAmount
sourceTokenAddressstringrequired
Address of the token contract on the source chain. Format depends on source chain family.
Example:
0xA0b86a33E6ba76E6F7c4AB4C3F05C7E0d3D7E2F6BdestTokenAddressstringrequired
Address of the token contract on the destination chain. Format depends on destination chain family.
Example:
0xA0b86a33E6ba76E6F7c4AB4C3F05C7E0d3D7E2F6BsourcePoolAddressstringrequired
Address of the pool contract on the source chain. Format depends on source chain family.
Example:
0xA0b86a33E6ba76E6F7c4AB4C3F05C7E0d3D7E2F6Bamountstringrequired
Amount of tokens to transfer in the token's smallest unit (wei, lamports, etc.). Must be positive and within token's transfer limits.
Example:
1000000extraDatastringnullable
Additional arbitrary data that can be used to handle the token transfer.
Example:
0x1234567890abcdefdestGasAmountstringnullable
Amount of gas for the token transfer.
Example:
1000000JSON
TokenAmount
{
"sourceTokenAddress": "0x80ac24aa929eaf5013f6436cda2a7ba190f5cc0b",
"destTokenAddress": "AvZZF1YaZDziPY2RCK4oJrRVrbN3mTD9NL24hPeaZeUj",
"sourcePoolAddress": "0x20b79d39bd44deee4f89b1e9d0e3b945fde06491",
"amount": "1000000"
}