{"uid":"cap_f0BXoPdO-BwbAbdQATXhX","slug":"agent-data-tools-revmesh2074-workers-dev-related-wallets-211d1865","name":"Related Wallets & Counterparties Lookup","description":"Related wallets of a 0x address: who it sent ERC-20 tokens to or got them from over recent blocks, ranked by transfers, with sent and received counts, tokens, USDC in and out, first and last block, and wallet or contract. Live Transfer logs on Base (default), Ethereum, Arbitrum, Optimism or Polygon; native-coin transfers are not included. Use to map who a wallet trades with, find linked wallets before paying, or trace where funds went.","url":"https://agent-data-tools.revmesh2074.workers.dev/wallet/related?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","eth","arb","op","polygon"],"type":"string","description":"Network: base (default), eth, arb, op or polygon"},"blocks":{"type":"integer","description":"How many recent blocks to scan (100-10000, default 2000; Base makes a block every 0.2 s, so 2,000 is about 7 minutes there, 67 minutes on Optimism; Ethereum every 12 s)"},"address":{"type":"string","description":"0x wallet or contract address"}}},"responseSchema":{"type":"object","properties":{"note":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"chainId":{"type":"number"},"toBlock":{"type":"number"},"coverage":{"type":"string"},"fromBlock":{"type":"number"},"truncated":{"type":"boolean"},"counterparties":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"sent":{"type":"number"},"tokens":{"type":"array","items":{"type":"string"}},"address":{"type":"string"},"received":{"type":"number"},"usdcSent":{"type":"string"},"lastBlock":{"type":"number"},"transfers":{"type":"number"},"firstBlock":{"type":"number"},"usdcReceived":{"type":"string"}}}},"transfersScanned":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pK1CAYwQmKLm_8eLnI0gb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Returns ranked counterparties (wallets and contracts) that a given 0x address has exchanged ERC-20 tokens with over recent blocks, with transfer counts, USDC flows, and token lists","exampleAgentPrompt":"Can you show me who the wallet 0x742d35Cc6634C0532925a3b8D4C9C3D6a7b8e9f0 has been exchanging ERC-20 tokens with over the last 2000 blocks on Base — I want to see transfer counts, USDC flows, and whether each counterparty is a wallet or contract?","exampleUseCases":[{"title":"Vet a payee before sending crypto","prompt":"Before I send USDC to 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B, can you pull their recent ERC-20 counterparties on Ethereum over the last 5000 blocks so I can see who they've been trading with and check if anything looks suspicious?"},{"title":"Trace where funds went after a transfer","prompt":"Someone sent tokens from 0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE and I need to know where those funds ended up — can you map all the ERC-20 counterparties on Base for the last 10000 blocks and show me USDC in and out for each?"},{"title":"Find linked wallets for a DeFi trader","prompt":"I'm researching a DeFi trader at 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Arbitrum — can you show me their related wallets from the last 3000 blocks, ranked by number of transfers, with the tokens they moved?"}],"resultDescription":"Returns a list of counterparty addresses ranked by total transfer count, each with: sent and received transfer counts, list of token symbols traded, USDC sent and received amounts (as strings), first and last block seen, total transfers, and whether the address is a wallet or contract. Also includes metadata: chain, chainId, scanned block range, total transfers scanned, and a truncation flag if results were capped.","failureModes":["Invalid or malformed 0x address returns an error","Unsupported chain value returns validation error","blocks parameter outside 100–10000 range is rejected","No ERC-20 activity in the scanned range returns empty counterparties array","RPC timeout or node unavailability may return a 5xx error","Native coin (ETH, MATIC, etc.) transfers are not included and will not appear in results","Highly active addresses with many transfers may be truncated (truncated: true)"],"whenToPreferThis":"Use this endpoint when you need to map the on-chain social graph of a wallet — who it trades with, how often, and in what tokens — using live Transfer event logs rather than indexed third-party data. Ideal for due diligence before paying an address, tracing fund flows after a suspicious transfer, or identifying linked wallets in a fraud investigation. Supports Base, Ethereum, Arbitrum, Optimism, and Polygon. Note that only ERC-20 token transfers are included; native coin transfers (ETH, MATIC, etc.) require a different approach.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:33:32.452Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-related-wallets-211d1865"}