Skip to main content

ash.avalanche.eth_call

The ash.avalanche.eth_call module calls a smart contract's function on an EVM Avalanche network.

Module arguments

ArgumentRequiredTypeDefault valueComment
rpc_urlYesstrNoneRPC endpoint to call
contract_addrYesstrNoneAddress of the smart contract to query (in 0x... format)
abiYesstrNoneJSON ABI of the smart contract. Can be retrieved from Snowtrace
function_sigYesstrNoneSignature of the function to call. Looks like foo(uint32,bool)
parametersYesrawNoneList of parameters of the functions.

Example playbook

The playbook ash.avalanche.node/ash-node makes use of this plugin to enrich the node configuration with on-chain data.