When to use it
Deciding what to do with a call to a contract you have not seen before, or handing its interface to an agent step that explains the call.
At a glance
| Integration | Etherscan |
|---|---|
| Credits | 1 |
| Connection | Etherscan, by pasting a key |
Settings
addressOptionalAccepts event fields- Contract. Empty uses the contract the event came from.
chain- Chain. Leave it on the event's chain unless the step should always look at one chain.
What it hands on
Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.etherscan_get_abi_1.abi }} — the action’s key, then which one it is if you use more than one of the same kind.
abi- The contract's interface as a list of functions and events. Empty when it is not verified.
verified- True when Etherscan has the contract's verified source.
Good to know
- A contract that is not verified is not a failure: the step completes with verified set to false.
- A proxy contract returns the proxy's own interface, not the one it forwards to.
- Each lookup uses your own Etherscan key and counts against its allowance.