Skip to Content

EVM Chain action reference

This page is generated from the plugin registry. Do not edit it by hand.

Read-only EVM chain diagnostics: chain id, latest block, native and ERC-20 balances, and gas price on any EVM-compatible chain via a public JSON-RPC URL. No wallet or credentials required - complementary to the Web3 plugin (zero-credential preview/diagnostic queries against any public endpoint).

Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.

ActionAction type
Chain infoevm-chain/chain-info
Native token balanceevm-chain/eth-balance
ERC-20 balanceevm-chain/erc20-balance
Gas priceevm-chain/gas-price

Chain info

Action type: evm-chain/chain-info. Connection: required (evm-chain).

Return the chain id (hex + decimal) and the latest block number.

Inputs

This action takes no configuration fields.

Outputs

OutputDescription
successWhether the query succeeded
chainIdChain id as hex string
chainIdDecimalChain id as decimal number
latestBlockLatest mined block number
errorError message if failed

Native token balance

Action type: evm-chain/eth-balance. Connection: required (evm-chain).

Return the native token balance of an address in wei and native units.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
addressstringYesAddress.

Outputs

OutputDescription
successWhether the query succeeded
addressQueried address
balanceWeiBalance in wei
balanceNativeBalance in native units (18 decimals)
errorError message if failed

ERC-20 balance

Action type: evm-chain/erc20-balance. Connection: required (evm-chain).

Return the balance of an ERC-20 token held by an address.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
tokenstringYesToken address.
holderstringYesHolder address.

Outputs

OutputDescription
successWhether the query succeeded
tokenToken address
holderHolder address
balanceRaw token balance (string, token decimals)
errorError message if failed

Gas price

Action type: evm-chain/gas-price. Connection: required (evm-chain).

Return the suggested gas price in wei.

Inputs

This action takes no configuration fields.

Outputs

OutputDescription
successWhether the query succeeded
gasPriceWeiSuggested gas price in wei
errorError message if failed