{"uid":"cap_2jOXS-qVITrWVIkAmOrY7","slug":"apiosk-gateway-on-chain-reserve-attestation-base-4bf5ac11","name":"Apiosk Gateway – On-Chain Reserve Attestation (Base)","description":"Read balanceOf for a token/holder pair on Base at the current block and return the balance with a signed JWS-HS256 receipt. The envelope carries the exact eth_call (contract, calldata, block) so anyone can re-run it against any Base node.","url":"https://gateway.apiosk.com/attestations/onchain-reserve","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.033","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QHOFObU9l4LlzJf9fx2Sx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads the ERC-20 balanceOf for a given token/holder pair on Base at the current block and returns the balance with a JWS-HS256 signed receipt that includes the exact eth_call parameters for independent verification.","exampleAgentPrompt":"Can you get me a signed on-chain attestation of how many USDC tokens the wallet 0xAbC...123 holds right now on Base — I need a verifiable JWS receipt I can share with an auditor?","exampleUseCases":[{"title":"Proof-of-reserves for a stablecoin issuer","prompt":"I need a signed attestation of the USDC balance held by our treasury wallet 0xDEF...789 on Base right now — something an auditor can independently verify against a Base node."},{"title":"DeFi collateral verification before a loan","prompt":"Before I approve this loan, can you pull a signed on-chain balance receipt for the collateral token at contract 0xAAA...111 held by wallet 0xBBB...222 on Base so I can confirm the position is fully backed?"},{"title":"Compliance snapshot for a regulated wallet","prompt":"I need a tamper-evident record of exactly how many tokens wallet 0x999...FFF holds on Base for our quarterly compliance filing — please get a JWS-signed balance attestation I can archive."}],"resultDescription":"A JSON response containing the current ERC-20 token balance for the specified holder, wrapped in a JWS-HS256 signed envelope. The envelope includes the exact eth_call parameters (contract address, calldata, block number) so any third party can independently re-run the query against any Base node to confirm the result.","failureModes":["Invalid or non-ERC-20 contract address returns an error or zero balance","Wallet address not checksummed or malformed causes a 400-level error","Temporary Base RPC unavailability may cause a timeout or 503","Payment not completed via x402 results in HTTP 402 response","Block reorg between call and receipt delivery could cause minor inconsistency"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically signed, independently verifiable proof of an ERC-20 token balance on Base — not just a raw balance read. It is ideal for audit trails, reserve attestations, compliance snapshots, or any scenario where a third party must be able to verify the result without trusting the caller. It is not suitable if you only need an unsigned balance for internal logic, or if you are querying chains other than Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:47:53.419Z","isFirstParty":false}