crypto · crypto · evm · base · ethereum · rpc · block · historical-block · block-height · gas · transactions · finality · read-only

Base block inspection

Inspect one historical Base mainnet block number or resolve a latest, safe, or finalized tag, returning bounded transaction, gas, fee, root, and head-distance evidence.

$0.001 USDCBasex402 v2POST
Pay $0.001 USDC and run in your browserView free result sample

Endpoint

https://apiacre.com/v1/crypto/base-block-inspect

Send the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.

Pay $0.001 USDC and run in your browser

Official Coinbase agent path

Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.001 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.

npx --yes awal@latest x402 pay https://apiacre.com/v1/crypto/base-block-inspect \
  -X POST \
  -d '{"block_number":34600000,"block_tag":"safe"}' \
  --max-amount 1000 \
  --json

Coinbase pay-for-service documentation · Buyer setup and wallet safety

Alternative third-party AgentCash commands

Run check first without payment. Its fetch command may automatically pay up to the exact listed price.

npx --yes agentcash@latest check https://apiacre.com/v1/crypto/base-block-inspect
npx --yes agentcash@latest fetch https://apiacre.com/v1/crypto/base-block-inspect \
  --method POST \
  --header 'content-type: application/json' \
  --body '{"block_number":34600000,"block_tag":"safe"}' \
  --payment-protocol x402 \
  --payment-network base \
  --max-amount 0.001

AgentCash CLI documentation

Input example

{
  "block_number": 34600000,
  "block_tag": "safe"
}

Response shape

View free static sample JSON

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "crypto.base-block-inspect",
  "version": "1",
  "data": {
    "request": {
      "mode": "number",
      "blockNumber": 34600000,
      "blockTag": null,
      "rpcSelector": "0x20ff440",
      "fullTransactions": false
    },
    "network": {
      "name": "Base Mainnet",
      "caip2": "eip155:8453",
      "chainId": 8453
    },
    "observedAt": "2026-08-11T13:00:04+00:00",
    "head": {
      "latestNumber": 34600002,
      "blockAtOrBeforeHead": true,
      "confirmations": 3
    },
    "found": true,
    "block": {
      "number": 34600000,
      "hash": "0x4444444444444444444444444444444444444444444444444444444444444444",
      "parentHash": "0x3333333333333333333333333333333333333333333333333333333333333333",
      "timestamp": "2026-08-11T13:00:00+00:00",
      "ageSeconds": 4,
      "transactionCount": 187,
      "sizeBytes": 114491,
      "gasLimit": 120000000,
      "gasUsed": 54000000,
      "gasUtilization": 0.45,
      "baseFeePerGasWei": "500000",
      "blobGasUsed": 524288,
      "excessBlobGas": 0,
      "miner": "0x4200000000000000000000000000000000000011",
      "roots": {
        "transactions": "0x5555555555555555555555555555555555555555555555555555555555555555",
        "state": "0x6666666666666666666666666666666666666666666666666666666666666666",
        "receipts": "0x7777777777777777777777777777777777777777777777777777777777777777"
      },
      "explorerUrl": "https://basescan.org/block/34600000"
    },
    "networkRequestsMade": 1,
    "rpcCallsMade": 3,
    "readOnly": true,
    "transactionBroadcast": false,
    "warnings": [],
    "source": "https://docs.base.org/base-chain/api-reference/ethereum-json-rpc-api/eth_getBlockByNumber",
    "disclaimer": "A point-in-time RPC observation, not proof of finality beyond the requested provider tag. Public-provider availability, archival depth, and head freshness may vary."
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": []
  }
}

Try the payment challenge

curl -i -X POST 'https://apiacre.com/v1/crypto/base-block-inspect' \
  -H 'content-type: application/json' \
  --data '{"block_number":34600000,"block_tag":"safe"}'