axelar-gmp-sdk-solidity

Solidity API

IAxelarValuedExpressExecutable

Interface for the Axelar Valued Express Executable contract.

contractCallValue

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

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

Parameters

Name Type Description
sourceChain string The source chain.
sourceAddress string The source address.
payload bytes The payload data.

Return Values

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