execution_preflight
Action-facing, chain-neutral data-sufficiency gate for an intended swap, borrow, lend, liquidation, or repay. It composes Insight’s strict multi-oracle pre-trade assessment with an optional fresh venue-quote assessment into ALLOW / CAUTION / BLOCK, lists the exact missing evidence, and returns the underlying signed assessment when available. It evaluates data sufficiency only — never contract safety, custody, profitability, or transaction execution. Monad is a first-class profile using on-chain Pyth Core evidence; set targetProviders to ["pyth"] for a low-latency native snapshot, which remains CAUTION under the strict quorum policy until independent evidence is present. Other supported chains use their configured oracle adapters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol being traded, e.g. BTC, ETH, USDC | |
| action | Yes | ||
| chainId | Yes | Chain ID where the trade executes, e.g. 1=Ethereum, 42161=Arbitrum, 8453=Base. Use 0 for chain-agnostic. | |
| protocolId | No | Optional protocol identifier for lending actions | |
| tokenAddress | No | Optional 20-byte EVM token address for advisory token-security evidence | |
| decisionInput | No | Optional fresh venue quote and explicit limits. This evidence is required for an ALLOW result; without it a healthy oracle result remains CAUTION. | |
| tradeAmountUsd | Yes | Trade size in USD | |
| targetProviders | No | Optional: restrict the check to specific oracle providers | |
| destinationAsset | No | Optional destination asset for the intended route |