x420_chain_block
Multichain block header: Block header by number or tag (latest, finalized, safe) on base, ethereum, arbitrum, optimism, polygon, avalanche, bsc, base-sepolia: hash, time, miner, gas used and limit, base fee, transaction count. Source: publicnode JSON-RPC. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.001 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: number, hash, time, gas_used, base_fee_gwei, transaction_count.
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": "x420_chain_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | latest, finalized, safe, or a block number (default latest) | |
| network | No | one of base, ethereum, arbitrum, optimism, polygon, avalanche, bsc, base-sepolia (default base) |