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.
| Action | Action type |
|---|---|
| Chain info | evm-chain/chain-info |
| Native token balance | evm-chain/eth-balance |
| ERC-20 balance | evm-chain/erc20-balance |
| Gas price | evm-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
| Output | Description |
|---|---|
success | Whether the query succeeded |
chainId | Chain id as hex string |
chainIdDecimal | Chain id as decimal number |
latestBlock | Latest mined block number |
error | Error 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
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
address | string | Yes | Address. |
Outputs
| Output | Description |
|---|---|
success | Whether the query succeeded |
address | Queried address |
balanceWei | Balance in wei |
balanceNative | Balance in native units (18 decimals) |
error | Error 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
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
token | string | Yes | Token address. | ||
holder | string | Yes | Holder address. |
Outputs
| Output | Description |
|---|---|
success | Whether the query succeeded |
token | Token address |
holder | Holder address |
balance | Raw token balance (string, token decimals) |
error | Error 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
| Output | Description |
|---|---|
success | Whether the query succeeded |
gasPriceWei | Suggested gas price in wei |
error | Error message if failed |