{"uid":"cap_cTxZLqJNkhy5h79WZtn8i","slug":"trollbridge-idempotency-key-generator-75bdd2cb","name":"TrollBridge Idempotency Key Generator","description":"The insurance booth for AI agents, with Mini's Agent Supply Store on the side of the road. One hundred checkpoints: pre-transaction safety lanes (honeypot, approval-risk, rug-score, receipt-check, tx-dryrun, permit-scan, airdrop-verdict, deployer-history, wallet-watch, secret-scan at $0.02 USDC per call; the protection tier — /contract-check, /approval-screen, /tx-plain-english, /honeypot-check, /tx-simulate, /redteam, /skill-scan, /verdict, /egress-audit, /tool-gate, /airlock, /repo-scan, /prove, /task-scope — at $0.10; the one-call /shield don't-get-rugged screen at $0.25; the full /preflight bundle at $0.05), bounty intel (bounties, fresh, verdicts, deadlines, sweepstakes, opportunities) at $0.02 USDC per call, trader intel (/prices and /quant at $0.02; /enrich and /token-check at $0.05; /contract-check and /honeypot-check at $0.10; /sec-facts at $0.05), market intel (/markets and /search at $0.05; /grants at $0.02), DeFi intel (/yields and /new-pairs at $0.05; /gas and /defi at $0.02), AI intel (/models at $0.02), agent-ops intel (/prompt-cost, /model-picks, /rpc-speed, /terms-tldr, /scrape, /gigs, /retry-verify, /idempotency, /verify-independent at $0.02; /site-watch, /wallet-check, /code-run, /regulatory-pack, /sage, /cron-watch, /caveat-check, /tripwire, /escrow, /trust, /bridge-fees, /dao-votes, /dev-activity, /dex-arb, /dydx-perps, /funding-rates, /gas-predict, /hack-tracker, /long-short-ratio, /lp-yields, /mev-scan, /open-interest, /perp-basis, /polymarket-odds, /rwa-watch, /sentiment, /stablecoin-flows, /tokenomics, /top-movers, /whale-watch, and /yield-stable at $0.05; /approval-screen, /tx-plain-english, /tx-simulate, and /task-scope at $0.10; /scam-scan deep scan at $5.00 or 30-day subscription at $30.00), supply store (/road-pack combo meal at $0.05; curated datasets, the /audit-prep pre-audit review, and the /prove-state symbolic-execution run at $1.00; the /audit AI-agent audit at $25.00). Every lane answers before money moves — heuristic verdicts, not audits. Don't get rugged.","url":"https://mini-tollbooth.onrender.com/idempotency?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["write_intent"],"properties":{"caller_nonce":{"type":"string","description":"Disambiguator for genuinely-different writes with identical intent text — optional, generated if omitted."},"write_intent":{"type":"string","description":"The write the key covers — required."},"transport_evidence":{"type":"object","description":"{outcome, endpoint, elapsed_ms} — what failed, optional."}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n-4TIT9NfFmyEurFXZm1G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates or retrieves an idempotency key for a specified write intent, preventing duplicate transactions in AI agent workflows","exampleAgentPrompt":"Before I retry this failed smart contract write, generate an idempotency key for the write intent 'transfer 100 USDC to 0xABC...' so we don't accidentally submit the transaction twice — the previous attempt timed out after 3200ms on the /tx endpoint.","exampleUseCases":[{"title":"Safe retry after failed DeFi transaction","prompt":"My agent's token swap write failed mid-flight — generate an idempotency key for the write intent 'swap 0.5 ETH for USDC on Uniswap' before I retry, including transport evidence that it failed on /tx-simulate after 4500ms."},{"title":"Deduplication before bulk agent write batch","prompt":"I'm about to have my agent submit multiple contract approval writes and I want to make sure each one gets a unique deduplication key first — start with write intent 'approve USDC spend for 0xDEF...' and use nonce 'batch-run-001' to disambiguate it."},{"title":"Replay protection for autonomous payment agent","prompt":"My autonomous payment agent needs an idempotency token before it submits a recurring USDC payout write — the intent is 'send 50 USDC to vendor wallet 0x123...' and I need to make sure retries don't cause double payments."}],"resultDescription":"Returns a structured object containing an idempotency key or deduplication token tied to the specified write intent, optionally scoped by a caller nonce. The key can be used to safely retry failed writes without risking duplicate execution.","failureModes":["Missing required write_intent field returns a validation error","Malformed transport_evidence object may cause parsing failure","Network timeout from Render cold-start latency","Ambiguous write_intent string may generate colliding keys across different intended operations"],"whenToPreferThis":"Use this endpoint when an AI agent needs to safely retry a failed write operation — such as a blockchain transaction, DeFi approval, or smart contract call — and must guarantee idempotency to avoid duplicate execution or double-spending. Prefer this over rolling your own nonce when operating within the TrollBridge safety ecosystem, where the generated key integrates with other safety checks like /tx-dryrun, /preflight, and /tx-simulate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:22.379Z","isFirstParty":false,"canonicalSlug":"trollbridge-idempotency-key-generator-75bdd2cb"}