82trust / 100

Base Preflight

by machinemint-native-x402-production.up.railway.app in Onchain & crypto

x402 APIPassing, checked 5 h ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
247 ms typical, 247 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://machinemint-native-x402-production.up.railway.app/v1/base-preflight?data=0x&from=0x4200000000000000000000000000000000000006&to=0x1111111111111111111111111111111111111111&value=0"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmachinemint-native-x402-production.up.railway.app%2Fv1%2Fbase-preflight
const res = await pay("https://machinemint-native-x402-production.up.railway.app/v1/base-preflight?data=0x&from=0x4200000000000000000000000000000000000006&to=0x1111111111111111111111111111111111111111&value=0");
console.log(await res.json());

Example input

{
  "data": "0x",
  "from": "0x4200000000000000000000000000000000000006",
  "to": "0x1111111111111111111111111111111111111111",
  "value": "0"
}

Example output

{
  "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"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402247 ms$0.01