Skip to main content
GET
Returns the complete vault record with two enrichment blocks: onChain, the vault’s live state read from the chain in one aggregate, and holder, the position of the wallet named in address. Without an address, holder is null.

Path Parameters

string
required
Vault ID from List Vaults.

Query Parameters

string
Wallet to read a position for. When present, holder carries that wallet’s shares and their current value.

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