{"uid":"cap_-FrvvL6oBdmapR0XPlzMd","slug":"base-wallet-snapshot-eth-usdc-nonce-gas-check-1d121202","name":"Base Wallet Snapshot – ETH, USDC, Nonce & Gas Check","description":"One-call Base wallet quick check (agent self-check or counterparty/payee check before you pay): native ETH + nonce + USDC balance + live gas cost of an ERC-20 transfer, and can_pay_gas / can_pay_x402 booleans. Cheaper than eth-balance + erc20-balance + base-gas separately ($0.006). wallet=0x..","url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/wallet-snapshot?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"],"type":"string"},"queryParams":{"type":"object","required":["wallet"],"properties":{"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","examples":["0xe4be4d0bd82d8e68203deff81f79ede0529f2617"],"description":"Wallet"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"eth":0,"usdc":0.079,"chain":"base","nonce":0,"wallet":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","can_pay_gas":false,"can_pay_x402":true,"gas_cost_erc20_transfer_eth":4e-7}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6ew3bNhT7N_P33It_Z_-k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a one-call snapshot of a Base wallet: native ETH balance, USDC balance, nonce, live ERC-20 transfer gas cost, and boolean flags indicating whether the wallet can pay gas and x402 micropayments.","exampleAgentPrompt":"Before I send the USDC payment, can you do a quick wallet snapshot on 0xe4be4d0bd82d8e68203deff81f79ede0529f2617 and tell me if it has enough ETH for gas and enough USDC to cover the x402 fee?","exampleUseCases":[{"title":"Pre-payment counterparty wallet check","prompt":"Before I pay out to 0xe4be4d0bd82d8e68203deff81f79ede0529f2617, check if that wallet is properly funded — does it have ETH for gas and any USDC balance on Base?"},{"title":"Agent self-check before on-chain action","prompt":"Check my agent wallet 0xabc1234567890abcdef1234567890abcdef1234 — does it have enough ETH to cover gas for an ERC-20 transfer and can it handle x402 micropayments right now?"},{"title":"Monitor wallet readiness for automated payments","prompt":"Pull a quick snapshot of wallet 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef on Base and tell me its ETH balance, USDC balance, current nonce, and whether it's ready to pay gas."}],"resultDescription":"A JSON object containing: ETH native balance, USDC token balance, chain (always 'base'), account nonce, live gas cost in ETH for a standard ERC-20 transfer, a can_pay_gas boolean (true if ETH covers gas), and a can_pay_x402 boolean (true if USDC balance covers the x402 fee). All values are current at time of call.","failureModes":["Invalid or malformed wallet address (not matching ^0x[0-9a-fA-F]{40}$) returns a 400 error","Wallet address not found on Base returns zero balances (valid response, not an error)","RPC or node timeout may cause delayed or failed responses","Payment not sent or insufficient x402 payment returns 402 before data is served","Network congestion may cause gas cost estimates to be stale by seconds"],"whenToPreferThis":"Choose this endpoint when you need a combined ETH balance + USDC balance + nonce + gas cost check for a Base wallet in a single call. It is cheaper ($0.003) than calling separate eth-balance, erc20-balance, and gas oracle endpoints individually (which would cost $0.006+). Ideal for agent self-checks before executing on-chain actions, or for verifying a payee wallet is funded before initiating a transfer. Not suitable if you need balances on chains other than Base, or need detailed ERC-20 token lists beyond USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:59.208Z","isFirstParty":false,"canonicalSlug":"base-wallet-snapshot-eth-usdc-nonce-gas-check-1d121202"}