Skip to content

API ReferenceVaults, collateral, and riskFunction

collateralFactorQuery()

function collateralFactorQuery(sdk, params): AnvilQueryDefinition<CollateralFactor | null>;

Defines a collateral-factor read for an ordered token pair.

Parameters

ParameterType
sdkAnvilSDK
paramsGetCollateralFactorParams

Returns

AnvilQueryDefinition<CollateralFactor | null>