Historical balances
The two-argument overload reads latest and can change between runs.
Use the block_number overload for reproducible evidence.
Many providers require archive access for older historical balances.
Returns an address's native-token balance as exact Wei in live, pinned, or retained execution state. Without a CLIENT, it builds a reusable READ and does not access state.
Local
Exact signatures with descriptions, requirements, inputs, returns, and examples.
native_balance(CLIENT, ADDRESS) # Immediate Read · RPC required Reads the CLIENT's current state context; only a live CLIENT necessarily resolves latest state.
| Name | Type |
|---|---|
balance | UINT256 |
Native balance in Wei. Returns a UINT256 raw Wei balance. Historical block reads may require an archive-capable RPC provider.
The two-argument overload reads latest and can change between runs.
Use the block_number overload for reproducible evidence.
Many providers require archive access for older historical balances.
native_balance(CLIENT, ADDRESS, BIGINT) # Immediate Read · RPC required Returns the Wei balance at an explicit block height for reproducible historical state queries.
| Name | Type |
|---|---|
balance | UINT256 |
Native balance in Wei. Returns a UINT256 raw Wei balance. Historical block reads may require an archive-capable RPC provider.
Named parameters · RPC required
native_balance(ADDRESS) # Read Builder · RPC required Builds a reusable native-balance READ; no client is resolved and no state is accessed.
Named parameters · RPC required