Catalog
CryptoGETlive

Network info

Fetch Ethereum network metadata, current block height, and gas price in one cheap batched call.

$0.001
per call
Success
100%
p50 latency
1.75s
p95 latency
1.85s
Calls (30d)
2

Provider contract

Call path
/routes/onesource/crypto/network-info
Method
GET
Selected provider
onesourcedefault
Provider price
$0.001
Settlement
Base USDC · x402 · 5% h402 fee

Quickstart

Both commands call the selected provider directly.

cURL
curl '/routes/onesource/crypto/network-info?network=ethereum'
CLI
h402 call 'crypto/network-info' --provider 'onesource' --method GET --query '{"network":"ethereum"}'

Parameters & live test

pays real USDC

Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.

networkstringoptionaldefault ethereum

OneSource-supported Ethereum network.

One of
GET/routes/onesource/crypto/network-info
Request query
{
  "network": "ethereum"
}

ResponseExample response
{
  "data": {
    "data": {
      "block_number": "0x1867534",
      "chain_id": "0x1",
      "gas_price": "0x13d50ba9",
      "net_version": "1",
      "network": "ethereum"
    },
    "meta": {
      "endpoint": "/api/chain/network-info",
      "request_id": "15219360560d1cee"
    }
  },
  "h402": {
    "routeId": "crypto/network-info",
    "provider": "onesource",
    "selectedCandidateId": "crypto/network-info/onesource",
    "routing": "manual",
    "paidBy": "x402-exact"
  }
}

Providers

Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.

onesource
x402mpp
100
Success
100%
p50
1.75s
Calls
2
100%
$0.001$0.0010/call
Last successful call: 27d ago· Aggregated by h402 — not the source provider