Directory / Crypto & onchain data

ERC20 Transfer logs via eth_getLogs

ERC20 Transfer logs via eth_getLogs - raw Transfer events for a token or wallet

402 OKBaseGETx402 v2

Price per call
$0.005
Endpoint
https://api.onesource.io/api/chain/erc20-transfers
Provider
api.onesource.io
Paid calls (30 days)
471
Unique payers (30 days)
470
Last paid call
7 days ago
Health check
HTTP 402 just now
Pays to
0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea
Listed here since
2026-11-23 (source: bazaar)

Input

{
  "method": "GET",
  "queryParams": {
    "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
    "network": "ethereum"
  },
  "type": "http"
}

Example output

{
  "example": {
    "data": {
      "count": 1,
      "from_block": "latest",
      "logs": [
        {
          "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
          "blockNumber": "0x133da1e",
          "data": "0x00000000000000000000000000000000000000000000000000000000000f4240",
          "logIndex": "0x0",
          "topics": [
            "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
            "0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",
            "0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f"
          ],
          "transactionHash": "0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f"
        }
      ],
      "to_block": "latest"
    },
    "meta": {
      "cost_usdc": "0.001",
      "endpoint": "/api/chain/erc20-transfers",
      "payment_chain": "base",
      "payment_token": "USDC",
      "request_id": "00000000abcdef01"
    }
  },
  "type": "json"
}

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);

const res = await paidFetch("https://api.onesource.io/api/chain/erc20-transfers", { method: "GET" });
console.log(await res.json()); // costs $0.005 in USDC on Base

Machine-readable: /api/tools/8a3af77fd941. Listings are informational; check a provider before sending large amounts.

Similar tools

ToolPrice / callPayers (30d)Status
Pay the send-token execution fee (ERC-20 transfer) Pay the send-token execution fee (ERC-20 transfer) Crypto & onchain datakeyring-agent.blockchhub.linkBase $0.055.7k402 OK
Pay the send-native execution fee (native coin transfer) Pay the send-native execution fee (native coin transfer) Crypto & onchain datakeyring-agent.blockchhub.linkBase $0.055.6k402 OK
ERC20 token balance for any Ethereum wallet ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC Crypto & onchain dataapi.onesource.ioBase $0.003648402 OK
Latest Ethereum block height Latest Ethereum block height - current chain tip via eth_blockNumber Crypto & onchain dataapi.onesource.ioBase $0.001579402 OK
Live wallet balance Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in one bounded RPC batch Crypto & onchain dataapi.onesource.ioBase $0.003535402 OK