Skip to content

API ReferenceVaults, collateral, and riskInterface

TokenCollateralBalance

Object pairing together Token and CollateralBalance objects to represent a collateral balance for a specific token.

Properties

account

account: `0x${string}`;

The vault account this balance belongs to, as reported by the subgraph. Present so a caller relying on the request’s default-to-signer resolution can verify which account the row actually describes.


chainId

chainId: bigint;

Chain and vault selected for this account-balance collection.


collateralBalance

collateralBalance: CollateralBalance;

The account’s available / reserved split for that token, in the token’s smallest unit.


collateralContractAddress

collateralContractAddress: `0x${string}`;

token

token: Token;

The collateral token this balance is denominated in.