79trust / 100

Preflight

by 402-preflight in Weather & location

x402 APIPassing, checked 24 min ago

x402-preflight: confirm your wallet can transact, and see your balance, in one certified call. Pay $0.01 USDC on Base, get a signed on-chain-anchored receipt. The safe first transaction before you ship real volume.

POST https://kenoodl.com/preflight

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
349 ms typical, 408 ms slowest 5%
Last check
24 min ago
Next check
in 4 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://kenoodl.com/preflight" \
  -H "content-type: application/json" \
  -d '{"wallet":"0x… (the Base wallet to preflight; defaults to the paying wallet if omitted)"}'
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%2Fkenoodl.com%2Fpreflight
const res = await pay("https://kenoodl.com/preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"wallet":"0x… (the Base wallet to preflight; defaults to the paying wallet if omitted)"}),
});
console.log(await res.json());

Example input

{
  "wallet": "0x… (the Base wallet to preflight; defaults to the paying wallet if omitted)"
}

Example output

{
  "receipt": {
    "eth_balance": "0.004200",
    "genesis_deploy_tx": "0x…",
    "payer": "0x…",
    "prev_settlement_tx": "0x…",
    "tx_hash": "0x…",
    "usdc_balance": "12.500000"
  },
  "status": "settled"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
24 min agoPassed402335 ms$0.01
4 h agoPassed402287 ms$0.01
7 h agoPassed402407 ms$0.01
11 h agoPassed402308 ms$0.01
15 h agoPassed402437 ms$0.01
19 h agoPassed402307 ms$0.01
22 h agoPassed402349 ms$0.01
26 h agoPassed402320 ms$0.01
29 h agoPassed402389 ms$0.01
32 h agoPassed402402 ms$0.01
37 h agoPassed402408 ms$0.01