Tailflow
Skip to article
Browse documentation

Etherscan · Action

Get balance

Reads an address's current balance in the chain's own currency, such as ETH on Ethereum or BNB on BNB Chain.

When to use it

Saying in an alert how much a wallet still holds after it sent a large amount.

At a glance

IntegrationEtherscan
Credits1
ConnectionEtherscan, by pasting a key

Settings

addressOptionalAccepts event fields
Address. Empty uses the event's sender.
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_balance_1.balance }} — the action’s key, then which one it is if you use more than one of the same kind.

balance
The balance as a decimal, such as 1.25.
balance_wei
The same balance in the smallest unit, as text, exactly.

Good to know

  • Token balances are not included. Use List token transfers to see a token's movements.
  • Each lookup uses your own Etherscan key and counts against its allowance.