Get block
avax_get_blockRetrieve Avalanche C-Chain blocks by number, hash, or tag, with optional full transaction details.
Instructions
Fetch a block by number, hash, or tag ('latest'). Returns header fields and transaction hashes (set include_transactions=true for full tx objects).
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 |
|---|---|---|---|
| block | No | Block number (decimal), 0x-hash, or 'latest' | latest |
| 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 |
| include_transactions | No |