{"uid":"cap_zessOAD26lyxvWPXbJcCy","slug":"openrelay-wallet-balance-2743dd56","name":"OpenRelay Wallet Balance","description":"Read USDC or native token balance for an address on Base or Solana. Body: {chain, address, token?}.","url":"https://openrelay.hggfffdfy687.workers.dev/tools/wallet/balance","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","solana"],"type":"string"},"token":{"type":"string","default":"USDC","description":"USDC | ETH | SOL | NATIVE | ERC20 contract address / SPL mint"},"address":{"type":"string","description":"Wallet address (0x… on Base, base58 on Solana)"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uiX3dGflUxiY2dw_480uA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the USDC or native token balance for a given wallet address on Base or Solana.","exampleAgentPrompt":"What's the USDC balance on Base for the wallet address 0x1234abcd...? I need to know if there are enough funds before we proceed.","exampleUseCases":[{"title":"Pre-payment fund verification","prompt":"Before sending that payment, check the USDC balance on Base for wallet 0xAbCd1234... — I need to confirm there's at least 50 USDC available."},{"title":"Solana SOL balance check","prompt":"What's the current SOL balance for the Solana wallet 7xKp3N... — I want to know if it has enough to cover transaction fees."},{"title":"Agent treasury monitoring","prompt":"Check the USDC balance on Base for our agent treasury wallet 0xDeFi5678... so I can see how much is left in the fund."}],"resultDescription":"A JSON object containing the balance of the requested token (USDC, ETH, SOL, NATIVE, or a specific ERC20/SPL token) for the given wallet address on the specified chain (Base or Solana), expressed as a numeric value.","failureModes":["Invalid or malformed wallet address returns an error response","Unsupported chain value (not 'base' or 'solana') returns a validation error","Unknown or undeployed ERC20 contract address returns zero or error","Network congestion or RPC node unavailability may cause timeout","Missing required fields (chain or address) returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call balance lookup for a specific wallet on Base or Solana without managing your own RPC infrastructure. It is ideal for AI agents that need to verify wallet balances before executing payments, for lightweight treasury monitoring, or when integrating balance checks into automated workflows that require USDC or native token data on these two chains specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:42:56.855Z","isFirstParty":false}