Get chain status
get_chain_statusRetrieves current block, average block time, base fee, and gas price for the Elysium chain. Helps monitor network conditions and estimate transaction fees.
Instructions
Latest block, measured average block time, current base fee and gas price. Block timestamps have one-second resolution while Elysium produces several blocks per second, so block time is measured over a window of recent blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sampleSize | No | How many recent blocks to measure block time over. Defaults to BLOCK_TIME_SAMPLE_SIZE (1000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | ||
| gasPrice | Yes | Node-suggested gas price (eth_gasPrice). | |
| blockTime | Yes | ||
| chainName | Yes | ||
| latestBlock | Yes | ||
| baseFeePerGas | Yes | Minimum per-gas fee for the next block, from the latest block. |