EXECUTION/Zap In flow
08 / 15
Transaction
Zap In flow
signal to settlement, one signature.
Solflare Jito Meteora
user filar agent lp agent api solana
──── click [Zap In] ──▶
recommendBinRange()
IL projection (recharts)
POST /pools/{id}/add-tx ─▶
{ build tx
stratergy: "Spot",
owner: <pubkey>,
inputSOL: 0.05,
percentX: 0.5,
fromBinId: -10,
toBinId: 10,
slippage_bps: 200
}
◀── 200 success
lastValidBlockHeight: N
addLiquidityTxsWithJito[2]
deserialize VTx
wallet.signAllTransactions ─────────▶ user signs
POST /pools/landing-add-tx ─▶
{ swapTxsWithJito, land via jito bundle ───▶ tx
addLiquidityTxsWithJito,
lastValidBlockHeight }
◀── 200 success
data.signature: <jito sig>
render solscan link
◀──── position visible
poll /lp-positions/opening ──▶
◀── inRange: true
returned VTx [1]
- size
- 604 bytes
- account keys
- 12
- instructions
- 3
returned VTx [2]
- size
- 998 bytes
- account keys
- 19
- instructions
- 9
dry run evidence
- file
- backend/docs/zap-in-evidence-{ts}.json
- status
- success
- cost on mainnet
- 0 SOL (dry run)