Skip to content
Fourohtwo

tanod.dev/v1/chain/code

Get deployed bytecode size, Keccak hash and minimal-proxy or delegation detection for an EVM address. Use when an agent must see if an address has contract code: size, hash, EIP-1167 clone or EIP-7702 delegation.

BasePolygonSolanaBNB ChainArbitrumUnchecked
POSThttps://tanod.dev/v1/chain/code

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://tanod.dev/v1/chain/code", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0xcDAC0d6c6C59727a65F871236188350531885C43","chain":"base"}),
});
console.log(await res.json());

Example input

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

More from Tanod chainpeek