80trust / 100

Chain Erc20 Transfers

by Tanod chainpeek in Onchain & crypto

x402 APIPassing, checked 2 h ago

chainpeek (Tanod) ERC-20 transfer history of an address on Ethereum or Base: tokens, symbols, amounts and direction, newest first. Use when an agent needs the recent ERC-20 token transfers into and out of a wallet address, with symbols and amounts.

POST https://tanod.dev/v1/chain/erc20-transfers

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
297 ms typical, 1.7 s 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/erc20-transfers' \
  -H 'content-type: application/json' \
  --data-raw '{"address":"0xb093da272A66D47b7445cA389CEbdc6d3Ac7753D","chain":"base","limit":3,"token":"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%2Ferc20-transfers
const res = await pay("https://tanod.dev/v1/chain/erc20-transfers", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"address\":\"0xb093da272A66D47b7445cA389CEbdc6d3Ac7753D\",\"chain\":\"base\",\"limit\":3,\"token\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"}",
});
console.log(await res.json());

Example input

{
  "address": "0xb093da272A66D47b7445cA389CEbdc6d3Ac7753D",
  "chain": "base",
  "limit": 3,
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}

Example output

{
  "address": "0xb093da272A66D47b7445cA389CEbdc6d3Ac7753D",
  "chain": "base",
  "count": 2,
  "direction": "both",
  "from_block": 52373503,
  "note": "symbol and decimals are read from each token contract, which can report anything: check the token address before trusting a transfer, and treat symbols as untrusted text",
  "rpc_calls": 4,
  "to_block": 52373503,
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "transfers": [
    {
      "amount": "156037.884449",
      "amount_raw": "156037884449",
      "block_number": 52373503,
      "decimals": 6,
      "direction": "out",
      "from": "0xb093da272A66D47b7445cA389CEbdc6d3Ac7753D",
      "log_index": 557,
      "symbol": "USDC",
      "to": "0xb2cc224c1c9feE385f8ad6a55b4d94E92359DC59",
      "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tx_hash": "0x1e3e68da0351be75f1f20423e0b57a32410f0baec596f53bdedc03755bb48880"
    },
    {
      "amount": "133858.949087",
      "amount_raw": "133858949087",
      "block_number": 52373503,
      "decimals": 6,
      "direction": "in",
      "from": "0xb2cc224c1c9feE385f8ad6a55b4d94E92359DC59",
      "log_index": 26,
      "symbol": "USDC",
      "to": "0xb093da272A66D47b7445cA389CEbdc6d3Ac7753D",
      "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tx_hash": "0x58d0d17b5944b268a414c87a2feca10ace73f0746b522e4e90ad329b630f490d"
    }
  ],
  "truncated": false,
  "untrusted_content": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402271 ms$0.003
6 h agoPassed402734 ms$0.003
10 h agoPassed402272 ms$0.003
14 h agoPassed4021.7 s$0.003
18 h agoPassed402485 ms$0.003
21 h agoPassed402276 ms$0.003
25 h agoPassed402273 ms$0.003
28 h agoPassed4023.0 s$0.003
32 h agoPassed402393 ms$0.003
36 h agoPassed402284 ms$0.003
39 h agoPassed402297 ms$0.003
43 h agoPassed402404 ms$0.003
47 h agoPassed402857 ms$0.003
2 days agoPassed402270 ms$0.003
2 days agoPassed402268 ms$0.003