← All Tokens
SOL

Flash Loan Solana

SOLdirect route
Max Available
SOL
Fee (SDK)
No swap cost
Route
Direct
Status
Loading...

Flash Loan Calculator

Simulate a flash loan on SOL — see the exact fee breakdown before you code.

Enter an amount above to see the exact fee breakdown
📦

Quick Start Code

Flash loan 1.00K SOL with the VAEA SDK — copy and paste into your project.

typescript
import { VaeaFlash } from '@vaea/flash';

const flash = new VaeaFlash({
  apiUrl: 'https://api.vaea.fi',
  source: 'sdk'
});

const quote = await flash.getQuote('SOL', 1000);
console.log(`Fee: ${quote.fee_breakdown.total_fee_pct}%`);

const sig = await flash.execute({
  token: 'SOL',
  amount: 1000,
  onFunds: async (ixs) => {
    ixs.push(myArbitrageIx);
    return ixs;
  }
});
Install →npm i @vaea/flash
How this flash loan works
1
begin_flash()
Register SOL loan on-chain
2
Borrow from lending protocol
Direct pool withdrawal
3
Your logic executes
Arb, liquidation, swap...
4
end_flash()
Repay + 0.03% fee