Get chain status
avax_get_chain_statusCheck live status of an Avalanche EVM chain: get chainId, latest block, base fee, and gas price to verify RPC connectivity and set gas parameters.
Instructions
Get live status of an Avalanche EVM chain: reported chainId, latest block number, base fee, gas price. Useful to verify an RPC works and to pick gas settings.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |