← Back to directory

Fetch an Ethereum block header and transaction hashes by number, tag, or hex via...

https://api.onesource.io/api/chain/block/:number

Overview

Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber

Protocol x402
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/transactions
Provider onesource
Source bazaar
Indexed 2026-06-10 21:15:23

Health

Status healthy
Latency (p50) 739ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-10-31 07:17:40
Last Healthy 2026-10-31 07:17:40
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "pathParams": { "number": "latest" }, "queryParams": { "network": "ethereum" }, "type": "http" }

Output Schema

{ "example": { "data": { "result": { "gasLimit": "0x1c9c380", "gasUsed": "0xe4e1c0", "hash": "0x3f5f8b0a8e9b7c6d4f2a1b5e8c9d7a3f6e4b9d1c5a8f2e7b4d6c3a9e1f0b8d5c", "number": "0x133da1e", "parentHash": "0x3f5f8b0a8e9b7c6d4f2a1b5e8c9d7a3f6e4b9d1c5a8f2e7b4d6c3a9e1f0b8d5b", "timestamp": "0x6567c8e0", "transactions": [ "0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f" ] } }, "meta": { "cost_usdc": "0.001", "endpoint": "/api/chain/block/latest", "payment_chain": "base", "payment_token": "USDC", "request_id": "00000000abcdef01" } }, "type": "json" }