Build Unsigned Post-Unwrap Jito Safe-Exit
build_jito_safe_exitEmergency Dump / Safe-Exit (Token -> SOL): builds an unsigned Solana v0 VersionedTransaction via Jupiter v1 + Jito bundleOnly=true MEV protection, APPENDING the 65 bps (or 45/20 bps partner referral) atomic SOL fee AFTER Jupiter unwraps WSOL so wallets with near-zero free SOL pay the fee directly out of SOL sale proceeds.
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": {
"userPublicKey": "<userPublicKey>"
},
"name": "build_jito_safe_exit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | No | Alias for inputMint (token mint to exit into SOL) | |
| sellPct | No | Percentage of wallet ATA balance to dump (1-100, default 100) | |
| amountRaw | No | Optional exact integer raw base units to sell instead of sellPct | |
| inputMint | No | Token mint Base58 address to sell into native SOL | |
| slippageBps | No | Max slippage in basis points (10 to 3000, default 150) | |
| amountTokens | No | Optional exact UI token amount to sell instead of sellPct | |
| userPublicKey | Yes | User Solana wallet Base58 public key (fee payer & signer) | |
| referrerPubkey | No | Optional partner Solana wallet Base58 pubkey for atomic 45/20 bps revenue split (earns 20 bps) |