{"uid":"cap_2U8B6YYf2g5JJjX9-KI8z","slug":"gate402-on-chain-wallet-token-intelligence-0105eac7","name":"gate402 On-Chain Wallet & Token Intelligence","description":"On-chain wallet & token intelligence on Base: native + ERC-20 balances, EOA/contract detection, tx count, and token metadata. From public RPC.","url":"https://gate402.app/v1/onchain?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tokens":{"type":"array","items":{"type":"string"},"description":"Optional extra ERC-20 contract addresses to check balances for."},"address":{"type":"string","description":"Base address (wallet or token contract), 0x-hex."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_J_0qHdbv3kc2fr6QmvdP5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns native ETH + ERC-20 balances, EOA/contract classification, transaction count, and token metadata for any Base address, sourced from the public RPC.","exampleAgentPrompt":"Check the on-chain wallet profile for 0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97 on Base — I need its native ETH balance, any ERC-20 holdings, whether it's a contract or regular wallet, and the transaction count. Also check balances for these extra tokens: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb.","exampleUseCases":[{"title":"Portfolio snapshot for a Base wallet","prompt":"Pull the full on-chain snapshot for the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base — native ETH balance, all ERC-20 token holdings, and the total number of transactions it's made."},{"title":"Contract vs EOA detection for security check","prompt":"I need to know whether 0x2626664c2603336E57B271c5C0b26F421741e481 on Base is a smart contract or a regular wallet — can you check its on-chain type along with its transaction count and any token balances?"},{"title":"Token metadata lookup for a Base ERC-20","prompt":"Get me the token metadata — name, symbol, decimals — and current holder balance for the ERC-20 contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base, checking against the address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B."}],"resultDescription":"Returns a JSON object containing the address's native ETH balance, a list of ERC-20 token balances (including symbol, decimals, and raw/formatted amounts) for standard tokens plus any extras supplied, a boolean or type flag indicating EOA vs contract, the total transaction count, and token-level metadata sourced directly from the Base public RPC.","failureModes":["Invalid or malformed 0x address returns a validation error","Non-Base address (e.g. Ethereum mainnet address not deployed on Base) may return zero balances without error","Unknown or non-standard ERC-20 contract addresses in the tokens array may fail metadata lookup","RPC congestion or downtime can cause timeouts or partial results","Very new addresses with no history may return empty balances and zero tx count, which may look like an error but is valid"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive on-chain profile of a Base address in a single call — combining native balance, multi-token ERC-20 balances, EOA/contract classification, and transaction count without querying the RPC directly. It is ideal for wallet due diligence, agent-driven portfolio monitoring, or pre-trade address validation on Base, and is preferable to DEX price endpoints when you need raw wallet state rather than market data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:35:26.417Z","isFirstParty":false,"canonicalSlug":"gate402-on-chain-wallet-token-intelligence-0105eac7"}