preflight
ActiveTool of x402 Trading & On-Chain Intelligence
Pre-Sign Co-Pilot — the ONE call an agent makes before signing ANY transaction, on ANY chain. Returns a single GO/CAUTION/STOP verdict: will it succeed (and if it reverts, why + the exact fix), is it safe (sanctions/drainer/unlimited-approval/rug — hard STOP), true cost (gas + USD), your exact wallet balance-changes after, AND the corrected transaction to sign instead. EVM: send { chain, tx:{to,data,from?,value?}, token?, spender?, swap? }. Solana: send { chain:'solana', transaction?, outputMint?, swap? }. Non-custodial — the corrected tx comes back UNSIGNED and you sign it. The mandatory guardrail at the universal choke point before signing. [x402 paid tool — price $0.01; POST /api/preflight]
Parameters schema
{
"type": "object",
"required": [],
"properties": {
"tx": {
"type": "array",
"description": "EVM unsigned tx { to, data?, from?, value? }"
},
"swap": {
"type": "array",
"description": "Optional swap intent to build the corrected best-execution route (Solana: {inputMint,outputMint,amount,userPublicKey,slippageBps?}; EVM: {sellToken,buyToken,sellAmount,taker})"
},
"chain": {
"type": "string",
"description": "base (default), ethereum, arbitrum, optimism, polygon, bsc, or solana"
},
"token": {
"type": "string",
"description": "EVM: token being spent (lets us build the exact approve() fix)"
},
"strict": {
"type": "boolean",
"description": "Hard-STOP on any likely revert or HIGH risk"
},
"spender": {
"type": "string",
"description": "EVM: spender/router for the approve() fix (defaults to tx.to)"
},
"outputMint": {
"type": "string",
"description": "Solana: token mint to safety-check (rug/authorities)"
},
"transaction": {
"type": "string",
"description": "Solana: base64 serialized (unsigned) transaction to simulate"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
x402 Trading & On-Chain Intelligence
1/7 registries