Get native balance
avax_get_balanceQuery the native token balance of an Avalanche EVM address across mainnet, testnet, or supported L1s. Returns both wei and a formatted amount.
Instructions
Get the native token balance (AVAX on C-Chain/Fuji, or the L1's native token) of an address on an Avalanche EVM chain.
Network: "mainnet" (C-Chain), "fuji" (testnet C-Chain), a known L1 key (mainnet, c-chain, fuji, dexalot, beam, dfk, dispatch-fuji, echo-fuji), or a full RPC URL. Returns wei and a formatted value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | 0x-prefixed 20-byte EVM address | |
| network | No | Network: "mainnet" (C-Chain), "fuji" (testnet C-Chain), a known L1 key (mainnet, c-chain, fuji, dexalot, beam, dfk, dispatch-fuji, echo-fuji), or a full RPC URL. | fuji |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wei | Yes | ||
| symbol | Yes | ||
| address | Yes | ||
| chainId | Yes | ||
| network | Yes | ||
| formatted | Yes |