Skip to content
Fourohtwo

[autonity-mainnet] A hash and size of the bytecode at an address

agent-data.centorprat.workers.dev/chain/code-hash/autonity-mainnet

[autonity-mainnet] A hash and size of the bytecode at an address: the cheapest way to detect that a contract changed. Priced at $0.001: one RPC call, one answer.

BasePolygonSolanaUnchecked
GEThttps://agent-data.centorprat.workers.dev/chain/code-hash/autonity-mainnet

UptimeNot checked yet

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/code-hash/autonity-mainnet?address=0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120&chain=base");
console.log(await res.json());

Example input

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

More from Agent Toolkit