token_transfers
Recent ERC20 transfers for a token or wallet. Recent ERC20 Transfer events (decoded: from, to, amount with decimals, symbol, tx hash, block) for a token contract, a wallet, or both, over the last ~2,000 blocks on Base, Arbitrum or Optimism (~500 on Ethereum). Up to 50 newest. Deterministic, no LLM. Example output: {"chain":"base","fromBlock":1,"toBlock":2,"count":1,"transfers":[{"token":"0x…","symbol":"USDC","from":"0x…","to":"0x…","amount":"12.5","tx":"0x…","block":2}]}. Price: $0.0045 USDC on Base via x402 (pass the payment in _meta["x402/payment"]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain: base (default), ethereum, arbitrum, optimism | |
| token | No | Token contract (optional if wallet given) | |
| blocks | No | Lookback blocks (max 2000) | |
| wallet | No | Wallet to filter (from or to) |