axelar-gmp-sdk-solidity

Solidity API

IAxelarValuedExpressExecutableWithToken

Interface for the Axelar Valued Express Executable With Token contract.

contractCallWithTokenValue

function contractCallWithTokenValue(string sourceChain, string sourceAddress, bytes payload, string symbol, uint256 amount) external view returns (address tokenAddress, uint256 value)

Returns the value (token address and amount) associated with a contract call with token.

Parameters

Name Type Description
sourceChain string The source chain.
sourceAddress string The source address.
payload bytes The payload data.
symbol string The token symbol.
amount uint256 The amount of tokens.

Return Values

Name Type Description
tokenAddress address The address of the token used.
value uint256 The value associated with the contract call.