QuoteResult
@liquidium/client / QuoteResult
Interface: QuoteResult
Defined in: packages/client/src/modules/quote/types.ts:59
Quote result for a requested borrow amount and target LTV.
Properties
activationFeeAmount
activationFeeAmount:
bigint
Defined in: packages/client/src/modules/quote/types.ts:63
Activation fee rounded down in borrow asset base units; zero if calculation is skipped.
borrowAmount
borrowAmount:
bigint
Defined in: packages/client/src/modules/quote/types.ts:61
Requested amount before network fees, in borrow asset base units.
borrowAsset
borrowAsset:
string
Defined in: packages/client/src/modules/quote/types.ts:81
Borrow asset symbol.
borrowPoolId
borrowPoolId:
string
Defined in: packages/client/src/modules/quote/types.ts:77
Pool principal text for the borrow side.
borrowUsd
borrowUsd:
bigint
Defined in: packages/client/src/modules/quote/types.ts:67
Opening debt value, including the activation fee, in internal USD units.
collateralAsset
collateralAsset:
string
Defined in: packages/client/src/modules/quote/types.ts:83
Collateral asset symbol.
collateralPoolId
collateralPoolId:
string
Defined in: packages/client/src/modules/quote/types.ts:79
Pool principal text for the collateral side.
maxAllowedLtvBps
maxAllowedLtvBps:
bigint
Defined in: packages/client/src/modules/quote/types.ts:73
Maximum allowed LTV in basis points for the collateral pool.
openingDebtAmount
openingDebtAmount:
bigint
Defined in: packages/client/src/modules/quote/types.ts:65
Requested amount plus activation fee in borrow asset base units; zero if calculation is skipped.
requiredCollateralAmount
requiredCollateralAmount:
bigint
Defined in: packages/client/src/modules/quote/types.ts:69
Required collateral amount in collateral asset base units.
requiredCollateralUsd
requiredCollateralUsd:
bigint
Defined in: packages/client/src/modules/quote/types.ts:71
Required collateral value in internal USD units.
targetLtvBps
targetLtvBps:
bigint
Defined in: packages/client/src/modules/quote/types.ts:75
Requested target LTV in basis points.
validationErrors
validationErrors:
QuoteValidationError[]
Defined in: packages/client/src/modules/quote/types.ts:85
Blocking validation errors. Empty when the quote is usable.
warnings
warnings:
QuoteWarning[]
Defined in: packages/client/src/modules/quote/types.ts:87
Non-blocking quote warnings.