Staking
Stake SOL or USDC into Lavarage vaults.
Staking Vaults
Lavarage offers SOL and USDC staking vaults. Staked tokens are deployed as lending liquidity, and stakers receive liquid staking tokens (LSTs) representing their share of the vault.
Available Vaults
| Vault | Token | LST Mint |
|---|---|---|
| SOL | So11111111111111111111111111111111111111112 | 1stqQC3rTGhCwsXsXqF8qEwz7LQ2euK858V7adB7gaQ |
| USDC | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | usd17M4wqDEpKvukyJVA9BuW8SVcugq8Kw31x22Pqc9 |
Viewing Vaults
curl https://api.lavarage.xyz/api/v1/staking/vaultsReturns NAV, TVL, and balance breakdown for each vault.
Authentication
Staking endpoints require an `x-api-key` header (same as positions/orders).
Staking
curl -X POST https://api.lavarage.xyz/api/v1/staking/stake \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"wallet": "YOUR_WALLET",
"amount": "1000000000",
"vault": "SOL"
}'Sign and submit the returned transaction. You will receive LST tokens representing your vault share.
Unstaking
curl -X POST https://api.lavarage.xyz/api/v1/staking/unstake \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"wallet": "YOUR_WALLET",
"amount": "1000000000",
"vault": "SOL"
}'Checking Balances
curl https://api.lavarage.xyz/api/v1/staking/balance/YOUR_WALLET \
-H "x-api-key: YOUR_KEY"Returns your LST positions and any pending unstake requests.
Updated 4 days ago