{"uid":"cap_0Yl5wq3N2xzNKYM_BqdhV","slug":"insumerapi-on-chain-wallet-condition-attestation-779dede9","name":"InsumerAPI – On-Chain Wallet Condition Attestation","description":"Signed attestation (ECDSA plus a post-quantum ML-DSA-65 companion) of on-chain wallet conditions across 38 chains: token balance, NFT ownership, EAS, Farcaster, view calls, ratio rules, and agent standing (ERC-8004 registration, ERC-7710 delegation validity with revocation proof). A verifiable boolean, never raw balances. Up to 10 conditions per pay-per-call request. Pay in USDC on Base, Polygon, Arbitrum, or Solana.","url":"https://api.insumermodel.com/v1/attest","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"proof":{"enum":["merkle"],"type":"string","description":"Optional EIP-1186 storage proof; doubles the price"},"format":{"enum":["jwt"],"type":"string","description":"Optional ES256 JWT attestation format"},"wallet":{"type":"string","description":"EVM address (0x…); non-EVM wallets via solanaWallet/xrplWallet/bitcoinWallet/tronWallet/stellarWallet/suiWallet"},"conditions":{"type":"array","items":{"type":"object","required":["type","chainId"],"properties":{"type":{"enum":["token_balance","nft_ownership","eas_attestation","farcaster_id","evm_view_call","ratio_to_amount","ratio_to_supply","erc8004_agent","erc7710_delegation"],"type":"string"},"chainId":{"description":"Numeric EVM chain id, or 'solana' | 'xrpl' | 'bitcoin' | 'tron' | 'stellar' | 'sui'"},"threshold":{"type":"string","description":"Decimal string in token/display units, not base units: \"1000\" means 1000 USDC"},"contractAddress":{"type":"string"}}},"maxItems":10,"minItems":1}}},"responseSchema":{"type":"json","example":{"data":{"kid":"insumer-attest-v2","sig":"…","attestation":{"id":"ATST-…","pass":true,"results":[{"met":true,"blockNumber":"0x…","conditionHash":"0x…"}]}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NjTayNEomRsepxnxWh5Ge","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a signed ECDSA attestation (verifiable boolean) confirming whether an EVM wallet satisfies up to 10 on-chain conditions across 38 chains, covering token balance, NFT ownership, EAS, Farcaster, view calls, ratio rules, and agent standing (ERC-8004/ERC-7710).","exampleAgentPrompt":"Check whether wallet 0xAbC123… holds at least 100 USDC on Ethereum mainnet (chain 1) and owns at least one NFT from contract 0xDef456… on Base (chain 8453), and give me a signed ECDSA attestation of the result.","exampleUseCases":[{"title":"Token-gated access for a DApp","prompt":"Before letting this user into the premium section of my app, verify that wallet 0x1234…abcd holds at least 500 USDT on Polygon (chain 137) — give me a signed attestation I can present on-chain."},{"title":"AI agent credential check","prompt":"I need to confirm that agent wallet 0xDead…Beef is properly registered under ERC-8004 on Ethereum (chain 1) and has a valid, non-revoked ERC-7710 delegation — return a signed attestation with Merkle proof."},{"title":"NFT ownership gate for Discord role","prompt":"Check if wallet 0xFeed…C0de owns at least one token from the CryptoPunks contract 0xb47e3cd837dDF8e4c57f05d70Ab865de6e193bbb on Ethereum mainnet (chain 1) and return a signed boolean attestation I can use to assign a Discord role."}],"resultDescription":"A signed ECDSA attestation containing a verifiable boolean for each submitted condition, indicating pass or fail — never raw balances or token amounts. Optionally formatted as an ES256 JWT and/or accompanied by an EIP-1186 Merkle storage proof. The attestation is cryptographically verifiable on-chain or off-chain.","failureModes":["Invalid or malformed wallet address returns a 400-level error","Unsupported chain ID causes condition evaluation failure","Contract address not found or not deployed on specified chain","Threshold value malformed (non-decimal or wrong base units)","More than 10 conditions submitted — request rejected","Payment not received or insufficient USDC triggers 402 Payment Required","ERC-7710 delegation revocation proof unavailable on-chain","EAS attestation schema or UID not resolvable","Merkle proof request on a chain without storage proof support doubles price and may time out"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically signed, verifiable boolean attesting wallet conditions rather than raw data — particularly for on-chain gating, agent credential verification, or trustless proof handoffs. Prefer it over raw RPC calls when you need a tamper-evident attestation artifact. It is ideal for multi-condition checks across multiple chains in a single request, and uniquely supports ERC-8004 agent registration and ERC-7710 delegation validity checks that generic balance APIs do not cover.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:38:23.686Z","isFirstParty":false}