{"uid":"cap_rPWgdefr_vxT715C66N_N","slug":"x402-trading-hub-wallet-approvals-510310cd","name":"x402 Trading Hub - Wallet Approvals","description":"67 paid endpoints for on-chain, forex, stocks &amp; market intelligence","url":"https://trading-hub-v4-omega.vercel.app/api/wallet/approvals?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object"},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R8MlEeaxidSE0fLYuLwXP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submits or retrieves on-chain wallet token approval transactions for trading operations","exampleAgentPrompt":"Approve USDC spending for my wallet 0xABC...123 so the trading contract at 0xDEF...456 can spend up to 1000 USDC on Base mainnet before I execute my swap.","exampleUseCases":[{"title":"Pre-swap token approval for DEX","prompt":"Before I do my USDT-to-ETH swap on-chain, approve the DEX router contract at 0xDEF...456 to spend up to 500 USDT from my wallet 0xABC...789 on Ethereum mainnet."},{"title":"Set unlimited token allowance","prompt":"Set an unlimited token approval for WBTC from my wallet 0x111...222 to the lending protocol contract at 0x333...444 on Polygon so I can deposit collateral without re-approving each time."},{"title":"Revoke or update stale approval","prompt":"Update the USDC approval for my wallet 0xAAA...BBB so the old contract at 0xCCC...DDD is only allowed to spend 0 tokens — I want to revoke that allowance on Arbitrum."}],"resultDescription":"Returns confirmation of the wallet approval transaction including the transaction hash, approval status, the spender address authorized, the approved token amount, and optionally the on-chain receipt or block confirmation details.","failureModes":["Insufficient gas or gas estimation failure causing transaction revert","Invalid wallet address or spender contract address format","Chain ID mismatch or unsupported network","Token contract not found or non-ERC-20 contract","Approval amount exceeds balance or max uint256 overflow","Missing or malformed required fields in request body returning 400","Payment not received or x402 payment header invalid returning 402","Transaction pending timeout on slow networks"],"whenToPreferThis":"Use this endpoint when you need to programmatically submit or manage ERC-20 token approvals as part of a DeFi or on-chain trading workflow within the x402 Trading Hub ecosystem. Prefer this over manual wallet interactions when automating multi-step trading pipelines that require approval before swap or deposit steps, or when building agents that orchestrate on-chain transactions end-to-end.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-06T12:33:21.004Z","isFirstParty":false,"canonicalSlug":"x402-trading-hub-wallet-approvals-510310cd"}