Just-in-Time (JIT) Transactions
Just-in-Time (JIT) transactions are designed for users who require immediate, high-priority settlement. JIT is ideal for latency-sensitive activities like high-frequency trading, DEX arbitrage, and time-critical liquidations where execution within 1-2 seconds is paramount.
When to Use JIT
Use JIT for urgent actions where every sub-second matters:
- Liquidations that need to fire instantly
- Racing bots for an NFT mint
- High-value swaps that can't afford delays
- Time-critical arbitrage opportunities
- Emergency rescue transactions
How JIT Works
JIT follows a "Put me in the very next slot" approach. When you submit a JIT transaction intent, Raiku locks space in the next available leader slot, ensuring immediate execution with deterministic ordering based on your priority fee bid.
JIT Auction Flow
Pricing Model
JIT transactions are priced via a first-price sealed-bid auction. The minimum price is dynamically set at the current priority fee plus a 5% premium, denominated in SOL. This model is optimized for speed and immediate execution.
// Example: Submit JIT transaction
const jitBid = {
type: 'JIT',
priorityFee: 0.0045, // SOL
minimumBid: currentPriorityFee * 1.05, // 5% premium
transaction: myTransaction
}
await raikuClient.submitJIT(jitBid)Key Benefits
- Guaranteed inclusion in the next available slot
- Sub-second execution timing
- Protection against dropped transactions during network congestion
- Transparent, bid-based ordering within the slot