78trust / 100

Health

by base-rpc-health-map in Weather & location

x402 APIPassing, checked 2 h ago

Which Base public RPCs serve a stale chain tip. Every 30s we ask all major public RPCs for eth_blockNumber in parallel and record how many blocks behind the fastest peer each was, plus latency and error rate. An RPC never reports its own lag, so an agent reading a balance from a lagging endpoint cannot tell. Omit ?rpc for the full map; ?rpc=<host> for one.

GET https://x402.dailyelo.com/v1/rpc/health

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
494 ms typical, 639 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.dailyelo.com/v1/rpc/health?rpc=https%3A%2F%2Fmainnet.base.org"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.dailyelo.com%2Fv1%2Frpc%2Fhealth
const res = await pay("https://x402.dailyelo.com/v1/rpc/health?rpc=https%3A%2F%2Fmainnet.base.org");
console.log(await res.json());

Example input

{
  "rpc": "https://mainnet.base.org"
}

Example output

{
  "endpoints": [
    {
      "behind_1plus_rate": 0.03,
      "error": 2,
      "error_rate": 0.0007,
      "height_behind": {
        "max": 2,
        "p50": 0,
        "p90": 0,
        "p99": 1,
        "samples": 2878
      },
      "latency_ms": {
        "max": 5053,
        "p50": 88,
        "p90": 135,
        "p99": 232,
        "samples": 2878
      },
      "ok": 2878,
      "probes": 2880,
      "rpc": "https://base-rpc.publicnode.com",
      "stale": 0
    }
  ],
  "network": "eip155:8453",
  "schema": "rpchealth/v1",
  "updated_at": 1719500000,
  "window": {
    "endpoints_compared": 10,
    "hours": 24,
    "probe_interval_s": 30,
    "probe_rounds": 2880
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402540 ms$0.01
5 h agoPassed402499 ms$0.01
9 h agoPassed402465 ms$0.01
12 h agoPassed402325 ms$0.01
16 h agoPassed402813 ms$0.01
20 h agoPassed402494 ms$0.01
23 h agoPassed402373 ms$0.01
28 h agoPassed402444 ms$0.01
31 h agoPassed402495 ms$0.01
34 h agoPassed402639 ms$0.01
39 h agoPassed402470 ms$0.01