Skip to content

client.resources.<vaults|markets|funds>.select

Package
@torq-finance/sdk
Signature
client.resources.vaults.select(resourceId, fields)

Behavior

Provides typed top-level and dotted field selection for vault, market, and recovery-fund detail models while preserving resource identity, address, chain, and freshness evidence.

Example

const card = await torq.resources.vaults.select(vaultId, [
  'netApyBps',
  'totalAssets',
  'portfolioLiquidity.immediatelyAvailableAssets',
  'publicMetrics.queueStatus',
]);

Security boundary

Unsupported or unavailable paths fail with invalid_fields. Do not substitute an inferred value when a canonical field is absent.

See the API Reference for the governed endpoint contract and the workflow guide for canonical completion semantics.