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

VaultTokenLST Mint
SOLSo111111111111111111111111111111111111111121stqQC3rTGhCwsXsXqF8qEwz7LQ2euK858V7adB7gaQ
USDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vusd17M4wqDEpKvukyJVA9BuW8SVcugq8Kw31x22Pqc9

Viewing Vaults

curl https://api.lavarage.xyz/api/v1/staking/vaults

Returns 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.