U

Up · Base Preflight

by Up

GETBase

$0.01

per call · USD Coin on Base

Check an unsigned Base mainnet transaction before signing or broadcasting. Simulates with eth_call, estimates gas, checks sender balance and target bytecode, decodes supported token transfers and approvals, flags unlimited approvals and suspicious transaction shapes, and returns PASS, REVIEW, or FAIL. Never signs or broadcasts.

Endpoint

GET https://machinemint-native-x402-production.up.railway.app/v1/base-preflight

3

Calls / 30d

3

Unique payers / 30d

Aug 30

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://machinemint-native-x402-production.up.railway.app/v1/base-preflight", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://machinemint-native-x402-production.up.railway.app/v1/base-preflight?data=0x&from=0x4200000000000000000000000000000000000006&to=0x1111111111111111111111111111111111111111&value=0" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "canonical_endpoint": "/v1/base-preflight",
  "chain": {
    "chain_id": 8453,
    "name": "base"
  },
  "gas": {
    "estimated": true
  },
  "reason_codes": [],
  "request_mode": "marketplace_verification_sample",
  "risks": [],
  "sender": {
    "sufficient": true
  },
  "service": "machinemint.evm.preflight",
  "simulation": {
    "ok": true
  },
  "verdict": "PASS"
}

Payment details

Pay to0xe43e47dd6b779fe9e591586a3e1cba00c2f36c80
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 Up & similar services