Skip to main content
GET
Returns the vault record with its live state. onChain is the vault read from the chain in one aggregate. holder is the position of the wallet named in address, or null without one. On a vault your instance operates, implementation and jitLiquidity add the operator’s view; on every other vault both are null. The record fields are those of a List Vaults row, depositorGate and distributorView included. A vault is visible here under the same rules as on that list.

Path Parameters

string
required
Vault ID from List Vaults.

Query Parameters

string
Wallet to read a position for. When it is a 0x address, holder carries that wallet’s shares and their current value. Any other value is ignored and holder is null.

Response Fields

object
readFailed: true means the RPC could not answer, not that the vault is empty. A vault whose read failed still holds every deposit it held a minute ago. Show your last verified figures with a warning, retry, and never render zeros in their place.
sharePrice is an 18-decimal string regardless of the asset’s own decimals. Every other amount in the block is formatted at assetDecimals. A healthy onChain read is cached for 20 seconds, so calls inside that window see the same figures.
The interest block describes what the current allocations would earn at today’s rates. Rates move with each market’s utilization, so treat it as the present run rate rather than a forecast. It costs no extra call: the rates come from the same market read that produces the allocation legs.

Error Codes