Skip to content
Fourohtwo

[rails] eth_getProof

agent-data.centorprat.workers.dev/chain/account-proof/rails

[rails] eth_getProof: the account proof with balance, nonce, code and storage hashes. For verifying state without trusting the node. Priced at $0.001: one RPC call, one answer.

BasePolygonSolanaAnswering
GEThttps://agent-data.centorprat.workers.dev/chain/account-proof/rails

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data.centorprat.workers.dev/chain/account-proof/rails?address=0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120&chain=base");
console.log(await res.json());

Example input

{
  "address": "0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120",
  "chain": "base"
}

More from Agent Toolkit