chain_block_header
$0.09 via x402: the full header of any block — timestamp and age, transaction count, gas used vs limit with a utilization ratio and congested flag, base fee in gwei, miner and parent hash. /chain/block-number says WHERE the chain is; this says WHEN that block happened and how contested it was. Accepts a height or latest/finalized/safe. Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base|ethereum|optimism|arbitrum|polygon|gnosis (default base) | |
| number | No | Block height (decimal or 0x hex) or latest|finalized|safe|earliest (default latest) | |
| x_payment | No |