Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.voltr.xyz/llms.txt

Use this file to discover all available pages before exploring further.

API services are only available for indexed vaults. Reach out to the team if your vault should be enabled.

API First For Dashboards

The Voltr API is the recommended source for read-heavy dashboards and user-facing monitoring.

SDK For Real-Time Or Derived Reads

The v2 SDK exposes direct fetchers and extension helpers:
import { createSolanaRpc } from "@solana/kit";
import {
  fetchVault,
  getAccumulatedAdminFeesForVault,
  getAccumulatedManagerFeesForVault,
  getCurrentAssetPerLpForVault,
  getHighWaterMarkForVault,
  getPositionAndTotalValuesForVault,
  getVaultLpSupplyBreakdown,
} from "@voltr/vault-sdk";

const rpc = createSolanaRpc("your-rpc-url");
const vault = "your-vault-address" as const;

Vault State

const vaultData = await fetchVault(rpc, vault);
console.log("Total assets:", vaultData.data.asset.totalValue.toString());
console.log("Admin:", vaultData.data.admin);
console.log("Manager:", vaultData.data.manager);

Fee And HWM Data

const adminFees = await getAccumulatedAdminFeesForVault(rpc, vault);
const managerFees = await getAccumulatedManagerFeesForVault(rpc, vault);
const hwm = await getHighWaterMarkForVault(rpc, vault);

LP Economics

const assetPerLp = await getCurrentAssetPerLpForVault(rpc, vault);
const lpBreakdown = await getVaultLpSupplyBreakdown(rpc, vault);

Strategy Positions

const positions = await getPositionAndTotalValuesForVault(rpc, vault);

Best Practice Split

Use CaseRecommended Source
user-facing dashboardsVoltr API
historical analyticsVoltr API
real-time operational checksSDK
automation and botsSDK

What To Alert On

  • falling share price
  • unusually high idle balance
  • repeated strategy transaction failures
  • low SOL on admin or manager wallets
  • reward balances not being claimed on schedule