Base block explorer search

Base block explorer search: look up a Base block by number or hash and get timestamp, tx count, gas used/limit, base fee and explorer link; no input gets the latest block

Price: $0.001 per call · USDC on Base (eip155:8453) or Solana · no signup, no API key.

Request

{"block": 20000000}

Response (shape)

{"product": "scanpay.base_block", "found": true, "number": 20000000, "hash": "0xabababababababababababababababababababababababababababababababab", "parent_hash": "0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd", "timestamp": 1720000000, "timestamp_iso": "2024-07-03T09:46:40+00:00", "transactions_count": 100, "gas_used": 10000000, "gas_limit": 30000000, "base_fee_gwei": 0.001, "miner": "0x0000000000000000000000000000000000000000", "size": 15000, "network": "eip155:8453", "explorer_url": "https://basescan.org/block/20000000", "price_usd": 0.001, "as_of_ms": 1720000000000, "cached": false}

Call it

curl "https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/base-block-explorer-search" -H 'Content-Type: application/json'  -H 'PAYMENT-SIGNATURE: <x402 payment header>'   -d '{"block": 20000000}'

Quickstart (TypeScript / Python) · llms.txt · catalogue.json · all tools