Base block height ($0.001)
block_numberPAID ($0.001 USDC via x402). The latest Base block number plus its timestamp — a freshness/liveness probe for agents that need to know the chain head. Without payment this returns the 402 challenge; the fiatdock-mcp npm package pays automatically. On any RPC failure the call returns 4xx/5xx and is NOT charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | No | Base64 of a single x402 v2 PaymentPayload (EIP-3009 transferWithAuthorization on Base USDC). OMIT it on the first call: the 402 you get back carries `howToPay.payloadTemplate` — the exact envelope to fill in — plus the price and the EIP-712 domain. Send it on the second call to complete the purchase; it is forwarded as the PAYMENT-SIGNATURE header, never as body data. Nothing is charged for the 402 itself, and a call that fails after payment settles nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ISO 8601 read time | |
| network | Yes | Chain read (always base) | |
| timestamp | Yes | Unix seconds of the latest block (null if unavailable) | |
| blockNumber | Yes | Latest block height on Base | |
| timestampIso | Yes | ISO 8601 of the latest block time (null if unavailable) |