Subgraph

Querying indexed Volta90 vault events (Goldsky) and aggregated vault state (Lagoon API).

Volta90 exposes a Goldsky-hosted subgraph that indexes on-chain events from the Lagoon vault contract (deposits, withdrawals, settlements, valuation updates, governance, transfers, and more). For aggregated vault state — totals, price per share, fee parameters, APR-style figures — use Lagoon’s hosted GraphQL endpoint at https://api.lagoon.finance/query (vault overview, activity feed, and historical period summaries; standard GraphQL POST with variables for chain id and vault address).

Goldsky endpoint

Send GraphQL POST requests to: https://api.goldsky.com/api/public/project_cmnf347nv3a5m01vbd3fy997g/subgraphs/volta90/1.0.0/gn.

REST shortcut (per-vault events)

The public API wraps this subgraph for convenience: https://api.volta90.trade/events/0x9e6de1f581d63129af453fe1ea7253b280b4dca8 (normalized events, optional category query param).

Example: recent deposits

Filter on contractId_ using the vault address in lowercase (primary vault: 0x9e6de1f581d63129af453fe1ea7253b280b4dca8).

{
  deposits(
    first: 5
    orderBy: timestamp_
    orderDirection: desc
    where: { contractId_: "0x9e6de1f581d63129af453fe1ea7253b280b4dca8" }
  ) {
    id
    block_number
    timestamp_
    transactionHash_
    contractId_
    sender
    owner
    assets
    shares
  }
}

Example: deposit settlements

{
  settleDeposits(
    first: 5
    orderBy: timestamp_
    orderDirection: desc
    where: { contractId_: "0x9e6de1f581d63129af453fe1ea7253b280b4dca8" }
  ) {
    id
    block_number
    timestamp_
    epochId
    settledId
    totalAssets
    totalSupply
    assetsDeposited
    sharesMinted
  }
}

Indexed entities (selection)

Entity names mirror the Lagoon vault events (examples: deposits, withdraws, settleDeposits, settleRedeems, totalAssetsUpdateds, whitelistUpdateds, transfers, …). The Volta90 API’s GraphQL layer queries the same set of event entities for its /events route.

Field (typical)Description
idUnique event id
block_numberBlock number
timestamp_Block timestamp (unix)
transactionHash_Transaction hash
contractId_Vault contract address — filter with lowercase hex
Event-specific fields (e.g. assets, shares, epochId)