Blockscout action reference
This page is generated from the plugin registry. Do not edit it by hand.
Query the Blockscout block explorer REST API
For guidance and examples see the Blockscout guide.
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 |
|---|---|
| Get Address Balance | blockscout/get-address-balance |
| Get Address Info | blockscout/get-address-info |
| Get Address Counters | blockscout/get-address-counters |
| Get Transaction | blockscout/get-transaction |
| Get Token Info | blockscout/get-token-info |
Get Address Balance
Action type: blockscout/get-address-balance. Connection: optional.
Look up the native coin balance and metadata for an address
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | No | 1 | chain ids 1, 10, 100, 137, 4663, 5031, 8453, 42161, 50312, 84532, 5042002, 11155111 | Chain. Which chain’s Blockscout explorer to query. Defaults to Ethereum mainnet. For a chain not listed here, add a Blockscout connection with its instance URL. |
address | string | Yes | Address. |
Outputs
| Output | Description |
|---|---|
success | Whether the lookup succeeded |
address | The resolved address |
balance | Native coin balance in wei |
isContract | Whether the address is a contract |
ensName | Associated ENS name, if any |
error | Error message if failed |
Get Address Info
Action type: blockscout/get-address-info. Connection: optional.
Fetch the full address summary including balance, reputation, and verification flags
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | No | 1 | chain ids 1, 10, 100, 137, 4663, 5031, 8453, 42161, 50312, 84532, 5042002, 11155111 | Chain. Which chain’s Blockscout explorer to query. Defaults to Ethereum mainnet. For a chain not listed here, add a Blockscout connection with its instance URL. |
address | string | Yes | Address. |
Outputs
| Output | Description |
|---|---|
success | Whether the lookup succeeded |
address | The resolved address |
coinBalance | Native coin balance in wei |
exchangeRate | Native coin price in USD, if available |
isScam | Whether Blockscout flags the address as a scam |
isVerified | Whether the contract source is verified |
isContract | Whether the address is a contract |
reputation | Blockscout reputation flag (e.g. ok) |
ensName | Associated ENS name, if any |
proxyType | Proxy type, if the address is a proxy (e.g. eip7702) |
publicTags | Public tags applied to the address |
hasTokenTransfers | Whether the address has token transfers |
hasTokens | Whether the address holds tokens |
hasLogs | Whether the address has event logs |
blockNumberBalanceUpdatedAt | Block at which the balance was last updated |
error | Error message if failed |
Get Address Counters
Action type: blockscout/get-address-counters. Connection: optional.
Fetch activity counters for an address (transactions, token transfers, gas usage)
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | No | 1 | chain ids 1, 10, 100, 137, 4663, 5031, 8453, 42161, 50312, 84532, 5042002, 11155111 | Chain. Which chain’s Blockscout explorer to query. Defaults to Ethereum mainnet. For a chain not listed here, add a Blockscout connection with its instance URL. |
address | string | Yes | Address. |
Outputs
| Output | Description |
|---|---|
success | Whether the lookup succeeded |
transactionsCount | Total number of transactions |
tokenTransfersCount | Total number of token transfers |
gasUsageCount | Total gas used across transactions |
validationsCount | Number of blocks validated by the address |
error | Error message if failed |
Get Transaction
Action type: blockscout/get-transaction. Connection: optional.
Fetch details for a transaction by hash
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | No | 1 | chain ids 1, 10, 100, 137, 4663, 5031, 8453, 42161, 50312, 84532, 5042002, 11155111 | Chain. Which chain’s Blockscout explorer to query. Defaults to Ethereum mainnet. For a chain not listed here, add a Blockscout connection with its instance URL. |
txHash | string | Yes | Transaction Hash. |
Outputs
| Output | Description |
|---|---|
success | Whether the lookup succeeded |
hash | Transaction hash |
status | Transaction status (ok / error) |
value | Value transferred in wei |
from | Sender address |
to | Recipient address |
blockNumber | Block number the tx was mined in |
fee | Transaction fee in wei |
method | Decoded method name, if any |
error | Error message if failed |
Get Token Info
Action type: blockscout/get-token-info. Connection: optional.
Fetch metadata for an ERC-20/721/1155 token contract
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | No | 1 | chain ids 1, 10, 100, 137, 4663, 5031, 8453, 42161, 50312, 84532, 5042002, 11155111 | Chain. Which chain’s Blockscout explorer to query. Defaults to Ethereum mainnet. For a chain not listed here, add a Blockscout connection with its instance URL. |
tokenAddress | string | Yes | Token Address. |
Outputs
| Output | Description |
|---|---|
success | Whether the lookup succeeded |
address | Token contract address |
name | Token name |
symbol | Token symbol |
decimals | Token decimals |
totalSupply | Total supply in base units |
type | Token type (ERC-20, ERC-721, ERC-1155) |
holders | Number of holders |
error | Error message if failed |