A

Agent Transaction Preflight · Transaction Preflight

by Agent Transaction Preflight

POSTBase

$0.005

per call · USD Coin on Base

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.

Endpoint

POST https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/transaction_preflight

8

Calls / 30d

3

Unique payers / 30d

Sep 5

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/transaction_preflight", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "chain": "base",
    "data": "0x",
    "from": "0x0000000000000000000000000000000000000001",
    "to": "0x0000000000000000000000000000000000000002",
    "value": "0x0"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/transaction_preflight" \
  -H "Content-Type: application/json" \
  -d '{"chain":"base","data":"0x","from":"0x0000000000000000000000000000000000000001","to":"0x0000000000000000000000000000000000000002","value":"0x0"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "broadcast": false,
  "checks_completed": 3,
  "decision": "no_obvious_issue_detected",
  "success": true
}

Payment details

Pay to0x8647f7d7a1368a467ad1ff757fbc2e7167973558
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Agent Transaction Preflight & similar services