{"uid":"cap_kLoohk72RKt5W3G8utJCm","slug":"desk-lead-x402-native-balance-lookup-88dce808","name":"DESK LEAD x402 – Native Balance Lookup","description":"Micropay research APIs (x402 v2 + bazaar). Free catalog at /.well-known/x402.json. Primary v2 accepts: Base eip155:8453 only. Legacy X-PAYMENT-TX still supports bsc|base via acceptsV1. Headers: X-PAYMENT-TX, X-PAYMENT-NETWORK, PAYMENT-SIGNATURE. No financial advice.","url":"https://desk-x402.desk-x402-gh.workers.dev/v1/native-balance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"network":{"enum":["bsc","base","both"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"nonce":0,"product":"native_balance","balanceWei":"0x0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_ZzHMhOTKq1BdpF-RvjIbc","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 the native cryptocurrency balance (in Wei) for a given wallet address on BSC or Base networks, paid via x402 micropayment.","exampleAgentPrompt":"What's the current native token balance in Wei for wallet 0xAbCd1234...5678 on Base?","exampleUseCases":[{"title":"DeFi gas sufficiency check","prompt":"Before executing this on-chain transaction, check if wallet 0xAbCd1234567890abcdef1234567890abcdef1234 has enough native ETH balance on Base to cover gas — give me the balance in Wei."},{"title":"Multi-chain balance audit","prompt":"Look up the native token balance for address 0x1234567890abcdef1234567890abcdef12345678 on both BSC and Base so I can see where funds are held."},{"title":"Wallet monitoring for agent treasury","prompt":"Check the native balance of our agent treasury wallet 0xDeAdBeEf1234567890abcdef1234567890AbCdEf on Base and tell me the Wei amount so I know if we need to top it up."}],"resultDescription":"Returns a JSON object with: ok (boolean success flag), nonce (integer), product (string identifier 'native_balance'), and balanceWei (hex-encoded balance in Wei for the queried address and network).","failureModes":["Invalid or malformed wallet address (not matching ^0x[a-fA-F0-9]{40}$) returns an error","Unsupported network value outside bsc/base/both causes rejection","Missing required 'address' query parameter results in 400-class error","Payment not provided or invalid x402 payment header causes 402 Payment Required","Network congestion or RPC unavailability may cause timeouts or 503 errors"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, per-call micropayment (0.01 USDC) approach to fetching native token balances on Base or BSC without setting up a full RPC subscription. Ideal for agents that need occasional balance checks without committing to a node provider subscription. Prefer over full node queries when you want x402 payment-gated access with minimal setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:33:04.234Z","isFirstParty":false,"canonicalSlug":"desk-lead-x402-native-balance-lookup-88dce808"}