Api Endpoint

Agent Transaction Preflight

Run a transaction simulation and EVM safety preflight with gas, destination proxy evidence, and optional token security and allowance checks in one decision-ready report.

Open interactive test console

Offering

Provider
ai-data-marketplace-1042299154756.us-central1.run.app
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/transaction_preflight
MIME type
application/json
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
Transaction, simulation, preflight, Security, Agent

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x8647F7D7a1368a467Ad1FF757fBc2e7167973558"
  }
]

Observed health

Status
Healthy
Latest latency
55 ms
Average latency
58 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "description": "base, ethereum, or arbitrum; defaults to base."
        },
        "from": {
          "type": "string",
          "description": "Optional sender address for simulation."
        },
        "to": {
          "type": "string",
          "description": "Destination contract or wallet address."
        },
        "data": {
          "type": "string",
          "description": "Hex calldata; defaults to 0x."
        },
        "value": {
          "type": "string",
          "description": "Hex native-token value; defaults to 0x0."
        },
        "token_contract": {
          "type": "string",
          "description": "Optional token contract for GoPlus security evidence."
        },
        "spender": {
          "type": "string",
          "description": "Optional spender for allowance evidence when from and token_contract are supplied."
        }
      },
      "required": [
        "to"
      ],
      "additionalProperties": true
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": true,
          "properties": {
            "chain": {
              "description": "base, ethereum, or arbitrum; defaults to base.",
              "type": "string"
            },
            "data": {
              "description": "Hex calldata; defaults to 0x.",
              "type": "string"
            },
            "from": {
              "description": "Optional sender address for simulation.",
              "type": "string"
            },
            "spender": {
              "description": "Optional spender for allowance evidence when from and token_contract are supplied.",
              "type": "string"
            },
            "to": {
              "description": "Destination contract or wallet address.",
              "type": "string"
            },
            "token_contract": {
              "description": "Optional token contract for GoPlus security evidence.",
              "type": "string"
            },
            "value": {
              "description": "Hex native-token value; defaults to 0x0.",
              "type": "string"
            }
          },
          "required": [
            "to"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "properties": {
            "broadcast": {
              "type": "boolean"
            },
            "checks_completed": {
              "type": "integer"
            },
            "decision": {
              "type": "string"
            },
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "broadcast",
            "decision",
            "checks_completed"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}