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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "avax_get_chain_status"
}
}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 |