{"uid":"cap_YYWlWa3KBleIMMIqauJ9A","slug":"x402-ethereum-tx-broadcast-execute-0abe0dae","name":"x402 Ethereum Tx Broadcast (execute)","description":"Pay-per-call Ethereum mainnet tools for agents: simulate a tx, check it before signing, explain a mined tx, broadcast a signed tx privately. USDC on Base via x402. No signup, no API key.","url":"https://sim.0xrelay.party/execute?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["rawTx"],"properties":{"via":{"type":"string","description":"flashbots (default, private) or public"},"wait":{"type":"boolean","description":"wait up to ~10 s for the receipt (default false)"},"rawTx":{"type":"string","description":"0x signed raw tx (EIP-2718: legacy EIP-155, type 1 or 2), chainId 1"},"allowRevert":{"type":"boolean","description":"send even if the simulation reverts (default false)"}}},"responseSchema":{"tx":"object","via":"string","hash":"string","status":"submitted|pending|mined|reverted","receipt":"object|null","simulation":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ze7j_3FPP_m-BeGXzAO26","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Broadcasts a signed raw Ethereum mainnet transaction privately via Flashbots or publicly, with optional simulation guard and receipt waiting.","exampleAgentPrompt":"Broadcast this signed raw Ethereum mainnet transaction privately via Flashbots and wait up to 10 seconds for the receipt: 0x02f8...abc123","exampleUseCases":[{"title":"MEV-protected DeFi swap execution","prompt":"I've signed a Uniswap swap transaction and need to submit it to Ethereum mainnet privately so it doesn't get front-run — here's the signed raw tx: 0x02f87a01... please send it via Flashbots and wait for the receipt."},{"title":"Agent-driven contract interaction","prompt":"Submit this pre-signed contract call to Ethereum mainnet for me: 0x02f8ab0184... use the private relay and let me know the tx hash and whether it mined."},{"title":"Safe tx broadcast with revert protection","prompt":"Send this signed raw Ethereum transaction 0x01f872... to mainnet — use Flashbots so it stays out of the public mempool, but only if the simulation doesn't revert, and don't wait around for the receipt."}],"resultDescription":"Returns the transaction hash, the relay method used (flashbots or public), the submission status (submitted/pending/mined/reverted), a simulation result object, and optionally a receipt object if the transaction mined within ~10 seconds.","failureModes":["Transaction reverts in simulation and allowRevert is false — submission blocked, revert details returned","Invalid or malformed rawTx — 400-level error with parsing failure reason","ChainId mismatch (not mainnet chainId 1) — rejection with chainId error","Transaction underpriced or nonce conflict — submission fails with mempool rejection","Flashbots relay unavailable — may fall back or return relay error","wait=true but tx not mined within ~10s — returns status pending with null receipt","Payment failure via x402 — 402 response before execution"],"whenToPreferThis":"Choose this endpoint when you need to broadcast a signed Ethereum mainnet transaction with MEV/front-running protection via Flashbots, especially for DeFi operations where public mempool exposure is risky. It uniquely combines simulation guarding (blocks submission on revert), private relay submission, and optional receipt waiting in a single pay-per-call call with no API key required — ideal for autonomous agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T06:36:07.051Z","isFirstParty":false,"canonicalSlug":"x402-ethereum-tx-broadcast-execute-0abe0dae"}