Preflight a swap
preflightChecks an exact Solana token swap before buying for price impact, sandwich risk, transfer fees, hooks, and mint/freeze authority, returning a verdict with reasons.
Instructions
Dexra swap_preflight for this exact swap: price impact, sandwich risk, transfer fees, hooks, mint and freeze authority. Returns a verdict with reasons.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mint": "<mint>",
"side": "<side>",
"amount": "<amount>"
},
"name": "preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | Solana token mint address (base58) | |
| side | Yes | buy spends SOL, sell sells the token | |
| amount | Yes | SOL for a buy, token units for a sell |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||