80trust / 100
Chain Nonce
by Tanod chainpeek in Onchain & crypto
x402 APIPassing, checked 3 h ago
chainpeek (Tanod) account nonce: the transaction count of an Ethereum or Base address (latest or pending). Use when an agent must read an address's transaction count to set the nonce of its next transaction.
POST https://tanod.dev/v1/chain/nonce
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 277 ms typical, 910 ms slowest 5%
- Last check
- 3 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/nonce' \
-H 'content-type: application/json' \
--data-raw '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","block":"pending","chain":"ethereum"}'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%2Fnonce
const res = await pay("https://tanod.dev/v1/chain/nonce", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"address\":\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\"block\":\"pending\",\"chain\":\"ethereum\"}",
});
console.log(await res.json());Example input
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"block": "pending",
"chain": "ethereum"
}Example output
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"block": "latest",
"chain": "ethereum",
"nonce": 5969,
"nonce_hex": "0x1751",
"note": "RPC reads are cached up to 30 s"
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 271 ms | $0.001 |
| 7 h ago | Passed | 402 | 271 ms | $0.001 |
| 11 h ago | Passed | 402 | 275 ms | $0.001 |
| 14 h ago | Passed | 402 | 415 ms | $0.001 |
| 19 h ago | Passed | 402 | 859 ms | $0.001 |
| 22 h ago | Passed | 402 | 286 ms | $0.001 |
| 26 h ago | Passed | 402 | 735 ms | $0.001 |
| 29 h ago | Passed | 402 | 1.8 s | $0.001 |
| 33 h ago | Passed | 402 | 278 ms | $0.001 |
| 36 h ago | Passed | 402 | 269 ms | $0.001 |
| 40 h ago | Passed | 402 | 284 ms | $0.001 |
| 43 h ago | Passed | 402 | 263 ms | $0.001 |
| 2 days ago | Passed | 402 | 270 ms | $0.001 |
| 2 days ago | Passed | 402 | 277 ms | $0.001 |
| 2 days ago | Passed | 402 | 263 ms | $0.001 |