← All Tokens
mSOL

Flash Loan Marinade Staked SOL

mSOLsynthetic route
Max Available
mSOL
Fee (SDK)
Includes swap
Route
Synthetic
Status
Loading...

Flash Loan Calculator

Simulate a flash loan on mSOL — 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 mSOL 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('mSOL', 1000);
console.log(`Fee: ${quote.fee_breakdown.total_fee_pct}%`);

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

Frequently Asked Questions — mSOL Flash Loan

What is a mSOL flash loan?

A mSOL flash loan lets you borrow Marinade Staked SOL (mSOL) with zero collateral in a single Solana transaction. You receive the full amount, execute your strategy (arbitrage, liquidation, collateral swap), and repay — all atomically. If repayment fails, the entire transaction reverts.

How much does a mSOL flash loan cost?

The current fee for a mSOL flash loan is ~0.10%. This includes the VAEA protocol fee (0.03%) plus the real-time swap cost calculated from Jupiter. Fees update every ~60 seconds based on actual market liquidity.

How much mSOL can I borrow?

You can currently borrow large amounts of mSOL. Available liquidity is pulled from Solana lending protocols and updated every 10 seconds. Check the dashboard for real-time availability.

What is the difference between direct and synthetic flash loans?

Direct flash loans borrow tokens directly from lending protocols (Marginfi, Kamino, Save) at a fixed 0.03% fee. Synthetic flash loans borrow a base token (SOL/USDC) and swap to your target token via Sanctum or Jupiter, with fees that vary based on market liquidity.

How does the synthetic route work for mSOL?

VAEA borrows SOL or USDC from a lending protocol, then swaps to mSOL via Jupiter/Sanctum. After your logic runs, it swaps back and repays — all in one transaction. The swap cost is calculated in real-time using the Price-vs-Quote method.

Which SDKs support mSOL flash loans?

VAEA Flash supports mSOL in all three SDKs: TypeScript (npm i @vaea/flash), Rust (cargo add vaea-flash-sdk), and Python (pip install vaea-flash). All SDKs include simulation, fee estimation, and execute functions.

Is it safe to use mSOL flash loans?

Yes. Flash loans are atomic — the entire transaction succeeds or reverts. You never lose funds because if the repayment fails, Solana rolls back everything. VAEA's on-chain program verifies repayment before the transaction finalizes.

Related Topics

mSOL flash loanborrow mSOL SolanaMarinade Staked SOL DeFiSolana flash loanatomic transactionno collateralVAEA Flashflash loan SDKsynthetic routeJupiter swapreal-time feesswap mSOLarbitrage botliquidation botDeFi automationmSOL price

Other Flash Loan Tokens

SOL
SOL
USDC
USDC
USDT
USDT
JitoSOL
JitoSOL
JupSOL
JupSOL
JUP
JUP
JLP
JLP
cbBTC
cbBTC
bSOL
bSOL
INF
INF
laineSOL
laineSOL
TRUMP
TRUMP
View all 30 →