# x402 Ethereum Tx Broadcast (execute)

> x402 Ethereum Tx Broadcast (execute) is a paid API for AI agents from sim.0xrelay.party, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-13).

Broadcasts a signed raw Ethereum mainnet transaction privately via Flashbots or publicly, with optional simulation guard and receipt waiting.

## Facts

- Endpoint: POST https://sim.0xrelay.party/execute?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ethereum-tx-broadcast-execute-0abe0dae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YYWlWa3KBleIMMIqauJ9A

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-ethereum-tx-broadcast-execute-0abe0dae -d '<json body>'
```

Example prompt: Broadcast this signed raw Ethereum mainnet transaction privately via Flashbots and wait up to 10 seconds for the receipt: 0x02f8...abc123

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "tx": "object",
 "via": "string",
 "hash": "string",
 "status": "submitted|pending|mined|reverted",
 "receipt": "object|null",
 "simulation": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ethereum-tx-broadcast-execute-0abe0dae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sim.0xrelay.party](https://www.zero.xyz/host/sim.0xrelay.party/llms.txt)
