80trust / 100
Chain Call
by Tanod chainpeek in Onchain & crypto
x402 APIPassing, checked 2 h ago
chainpeek (Tanod) read-only contract call (eth_call) on Ethereum or Base: raw hex calldata in, raw hex result out. Use when an agent must read a contract function's return value without sending a transaction.
POST https://tanod.dev/v1/chain/call
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 296 ms typical, 798 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/call' \
-H 'content-type: application/json' \
--data-raw '{"chain":"base","data":"0x18160ddd","to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}'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%2Fcall
const res = await pay("https://tanod.dev/v1/chain/call", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"chain\":\"base\",\"data\":\"0x18160ddd\",\"to\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"}",
});
console.log(await res.json());Example input
{
"chain": "base",
"data": "0x18160ddd",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}Example output
{
"block": "latest",
"chain": "base",
"is_empty": false,
"note": "result is raw ABI-encoded return data; an empty result from an address without code is normal",
"result": "0x000000000000000000000000000000000000000000000000000f914dad280809",
"result_bytes": 32,
"selector": "0x18160ddd",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}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 | 762 ms | $0.002 |
| 6 h ago | Passed | 402 | 275 ms | $0.002 |
| 10 h ago | Passed | 402 | 272 ms | $0.002 |
| 14 h ago | Passed | 402 | 374 ms | $0.002 |
| 18 h ago | Passed | 402 | 798 ms | $0.002 |
| 21 h ago | Passed | 402 | 268 ms | $0.002 |
| 25 h ago | Passed | 402 | 411 ms | $0.002 |
| 29 h ago | Passed | 402 | 267 ms | $0.002 |
| 32 h ago | Passed | 402 | 354 ms | $0.002 |
| 36 h ago | Passed | 402 | 730 ms | $0.002 |
| 39 h ago | Passed | 402 | 272 ms | $0.002 |
| 43 h ago | Passed | 402 | 296 ms | $0.002 |
| 47 h ago | Passed | 402 | 271 ms | $0.002 |
| 2 days ago | Passed | 402 | 389 ms | $0.002 |
| 2 days ago | Passed | 402 | 403 ms | $0.002 |