80trust / 100
Chain Code
by Tanod chainpeek in Onchain & crypto
x402 APIPassing, checked 2 h ago
chainpeek (Tanod) deployed bytecode size, keccak hash and EIP-1167 minimal-proxy / EIP-7702 delegation detection of an address on Ethereum, Base or Robinhood Chain. Use when an agent must see if an address has contract code: size, hash, EIP-1167 clone or EIP-7702 delegation.
POST https://tanod.dev/v1/chain/code
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 273 ms typical, 745 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/chain/code' \
-H 'content-type: application/json' \
--data-raw '{"address":"0xcDAC0d6c6C59727a65F871236188350531885C43","chain":"base"}'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%2Ftanod.dev%2Fv1%2Fchain%2Fcode
const res = await pay("https://tanod.dev/v1/chain/code", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"address\":\"0xcDAC0d6c6C59727a65F871236188350531885C43\",\"chain\":\"base\"}",
});
console.log(await res.json());Example input
{
"address": "0xcDAC0d6c6C59727a65F871236188350531885C43",
"chain": "base"
}Example output
{
"address": "0xcDAC0d6c6C59727a65F871236188350531885C43",
"block": "latest",
"chain": "base",
"code_hash": "0x7dd6ffe6daf4e82054c91becd71b8c9ba0a135f0f403da1ef7b0f81bb8ba4408",
"code_prefix": "0x363d3d373d3d3d363d73a4e46b4f701c62e14df11b48dce76a7d793cd6d75af43d82803e903d91602b57fd5bf3",
"code_prefix_truncated": false,
"code_size": 45,
"eip1167_implementation": "0xA4e46b4f701c62e14DF11B48dCe76A7d793CD6d7",
"eip7702_delegate": null,
"is_contract": true,
"is_eip1167_proxy": true,
"is_eip7702_delegated": false,
"kind": "eip1167_minimal_proxy",
"note": "code_prefix is the first 64 bytes; for other proxy types (EIP-1967, beacon, diamond) use /v1/chain/proxy"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 260 ms | $0.001 |
| 6 h ago | Passed | 402 | 264 ms | $0.001 |
| 10 h ago | Passed | 402 | 271 ms | $0.001 |
| 14 h ago | Passed | 402 | 273 ms | $0.001 |
| 18 h ago | Passed | 402 | 279 ms | $0.001 |
| 21 h ago | Passed | 402 | 273 ms | $0.001 |
| 25 h ago | Passed | 402 | 290 ms | $0.001 |
| 28 h ago | Passed | 402 | 271 ms | $0.001 |
| 32 h ago | Passed | 402 | 729 ms | $0.001 |
| 35 h ago | Passed | 402 | 273 ms | $0.001 |
| 39 h ago | Passed | 402 | 274 ms | $0.001 |
| 43 h ago | Passed | 402 | 750 ms | $0.001 |
| 47 h ago | Passed | 402 | 360 ms | $0.001 |
| 2 days ago | Passed | 402 | 283 ms | $0.001 |
| 2 days ago | Passed | 402 | 709 ms | $0.001 |