{"uid":"cap_tje-PcpyYnshHmNAxt_yV","slug":"eip-2612-permit-nonce-lookup-25c940bf","name":"EIP-2612 Permit Nonce Lookup","description":"EIP-2612 permit nonce for an owner — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/erc20-nonce?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism","bsc","avalanche","gnosis","linea","scroll"],"type":"string"},"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"erc20-nonce","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.002,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Rj0vm7mGN0mV9GqtGO5J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current EIP-2612 permit nonce for a given ERC-20 token owner address on a specified EVM chain","exampleAgentPrompt":"What is the current EIP-2612 permit nonce for owner address 0xAbC...123 on the USDC contract 0xDef...456 on Base? I need it to construct a valid permit signature.","exampleUseCases":[{"title":"Gasless ERC-20 approval signing","prompt":"Before I sign an EIP-2612 permit for USDC on Ethereum, I need the current permit nonce for my wallet 0x1234567890abcdef1234567890abcdef12345678 on the USDC contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. Can you look that up?"},{"title":"Permit signature validation pre-flight","prompt":"I'm about to submit a permit transaction on Arbitrum for token contract 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 and owner 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef — what nonce do I need to include in the permit message so the signature will be valid?"},{"title":"Multi-chain DeFi automation setup","prompt":"My DeFi bot is setting up gasless approvals on Polygon. Can you fetch the EIP-2612 permit nonce for owner 0xBEEFcafeBEEFcafeBEEFcafeBEEFcafeBEEFcafe on the DAI contract 0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063 on Polygon so I can build the off-chain signature?"}],"resultDescription":"Returns a JSON object with ok status, a type field of 'erc20-nonce', the current permit nonce value for the specified owner and contract, a transaction receipt including tx_hash, amount paid in USD, a receipt ID, and the ISO 8601 timestamp when the data was generated.","failureModes":["Invalid Ethereum address format for owner or contract returns a validation error","Unsupported chain name outside the allowed enum returns an error","Contract address does not implement EIP-2612 may return an error or unexpected result","Network congestion or node unavailability may cause timeouts","Payment failure (insufficient USDC balance) blocks the call under x402 protocol"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve the current EIP-2612 permit nonce for a specific owner and ERC-20 contract before constructing an off-chain gasless approval signature. It supports 10 major EVM chains in one unified API, making it ideal for DeFi agents and bots that need to build valid permit signatures across Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, or Scroll without running their own nodes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:46.408Z","isFirstParty":false,"canonicalSlug":"eip-2612-permit-nonce-lookup-25c940bf"}