---
name: igneos-base-tx-preflight
description: "Base transaction preflight: simulated success or decoded revert reason, gas estimate and cost, sender balance check, all at one block. Costs 0.005 USDC per call via x402."
---

# Igneos Base Tx Preflight

Base transaction preflight: simulated success or decoded revert reason, gas estimate and cost, sender balance check, all at one block. Costs 0.005 USDC per call via x402.

## Data source and freshness

Base chain data. See returned block, timestamp and observation fields where supplied.

## Request

GET https://igneos.systems/api/v1/base/tx-preflight.php

MCP tool: base_tx_preflight

Price: 0.005 USDC (5000 atomic units).

Example quote request:

```bash
curl -si "https://igneos.systems/api/v1/base/tx-preflight.php?from=0xa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1&to=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&data=0xa9059cbb000000000000000000000000b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b20000000000000000000000000000000000000000000000000000000000000001"
```

Input schema:

```json
{"type":"object","required":["from","to"],"additionalProperties":false,"properties":{"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"value":{"type":"string","pattern":"^[0-9]{1,30}$"},"data":{"type":"string","pattern":"^0x([0-9a-fA-F]{2}){0,500}$"}}}
```

Output schema:

```json
{"type":"object","additionalProperties":false,"required":["chainId","blockNumber","blockHash","observedAt","methodVersion","from","to","valueWei","calldataBytes","selector","toIsContract","simulation","gas","sender","warnings"],"properties":{"chainId":{"type":"integer","enum":[8453]},"blockNumber":{"type":"integer","minimum":0},"blockHash":{"type":"string","pattern":"^0x[0-9a-f]{64}$"},"observedAt":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"},"methodVersion":{"type":"string"},"from":{"type":"string","pattern":"^0x[0-9a-f]{40}$"},"to":{"type":"string","pattern":"^0x[0-9a-f]{40}$"},"valueWei":{"type":"string"},"calldataBytes":{"type":"integer","minimum":0},"selector":{"type":["string","null"]},"toIsContract":{"type":"boolean"},"simulation":{"type":"object","additionalProperties":false,"required":["status","returnData","returnTruncated","revert"],"properties":{"status":{"type":"string","enum":["success","reverted"]},"returnData":{"type":"string"},"returnTruncated":{"type":"boolean"},"revert":{"type":["object","null"],"additionalProperties":false,"required":["kind"],"properties":{"kind":{"type":"string","enum":["error","panic","custom","empty"]},"message":{"type":["string","null"]},"code":{"type":["integer","null"]},"selector":{"type":["string","null"]}}}}},"gas":{"type":"object","additionalProperties":false,"required":["estimate","priceGwei","l2CostEth"],"properties":{"estimate":{"type":["integer","null"]},"priceGwei":{"type":"number","minimum":0},"l2CostEth":{"type":["number","null"]}}},"sender":{"type":"object","additionalProperties":false,"required":["balanceEth","canAfford"],"properties":{"balanceEth":{"type":"number","minimum":0},"canAfford":{"type":["boolean","null"]}}},"warnings":{"type":"array","items":{"type":"string"}}}}
```

Illustrative example output (not a live observation):

```json
{"chainId":8453,"blockNumber":23000000,"blockHash":"0xabababababababababababababababababababababababababababababababab","observedAt":"2026-11-29T04:00:00Z","methodVersion":"base-tx-preflight/1","from":"0xa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1","to":"0xb2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2","valueWei":"0","calldataBytes":68,"selector":"0xa9059cbb","toIsContract":true,"simulation":{"status":"success","returnData":"0x0000000000000000000000000000000000000000000000000000000000000001","returnTruncated":false,"revert":null},"gas":{"estimate":51234,"priceGwei":0.0051,"l2CostEth":2.6e-7},"sender":{"balanceEth":0.12,"canAfford":true},"warnings":[]}
```

## x402 onboarding

If you have not used x402 before:

1. Connect an x402 V2-capable client to a wallet authorized by your operator. See https://www.x402.org/ and https://docs.cdp.coinbase.com/x402/welcome.
2. Fund the wallet with native USDC on a network offered in the current PAYMENT-REQUIRED header, and configure spending limits. A Base wallet is a supported starting point. Keep wallet signing credentials in your wallet.
3. Make the documented request without payment to obtain HTTP 402. Decode PAYMENT-REQUIRED and check the resource, network, asset, recipient, exact amount, expiry and operator-approved budget.
4. Use the payment client to construct and sign the authorization; repeat the same request with PAYMENT-SIGNATURE. A successful answer is HTTP 200 with PAYMENT-RESPONSE. Save the receipt. Do not make a new payment when a prior outcome is uncertain.
5. Alternatively connect the Streamable HTTP MCP server at https://igneos.systems/mcp. On a payment-required tool result, use an x402-aware MCP client to pay the structured terms and retry with params._meta["x402/payment"]. Save result._meta["x402/payment-response"].

### AWS Bedrock AgentCore

For agents using Amazon Bedrock AgentCore Payments, configure an approved Coinbase wallet/payment instrument and spending limits; discover the API through Coinbase Bazaar or use the documented HTTP endpoint. Follow https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/payments-getting-started.html. Direct AWS Billing for AWS Marketplace sellers is a separate payment integration; this API offers native USDC through x402, not an AWS Billing offer.

### Solana and Polygon

Use the matching native USDC token and a wallet/client that supports the exact network in the live quote. Check the live terms before paying; the data network of a tool is independent of its payment network.

Reference: https://igneos.systems/openapi.json
