Skip to main content

SimpleLoanInitialDeposit

@liquidium/client


@liquidium/client / SimpleLoanInitialDeposit

Interface: SimpleLoanInitialDeposit

Defined in: packages/client/src/modules/simple-loans/types.ts:373

Initial collateral deposit quote returned when a simple loan is created.

Properties

asset

asset: "BTC" | "ICP" | "USDC" | "USDT"

Defined in: packages/client/src/modules/simple-loans/types.ts:379

Collateral asset to deposit.


collateralAmount

collateralAmount: bigint

Defined in: packages/client/src/modules/simple-loans/types.ts:377

Intended credited collateral amount in base units, before inflow fees.


decimals

decimals: bigint

Defined in: packages/client/src/modules/simple-loans/types.ts:375

Decimal scale for amount, collateralAmount, and inflowFeeAmount.


detectedTimestamp

detectedTimestamp: bigint | null

Defined in: packages/client/src/modules/simple-loans/types.ts:383

Unix timestamp in seconds when the collateral deposit was detected, or null before detection.


expiryTimestamp

expiryTimestamp: bigint | null

Defined in: packages/client/src/modules/simple-loans/types.ts:385

Unix timestamp in seconds when the collateral deposit window expires, or null before detection when unavailable.


targets

targets: Partial<Record<Chain, SimpleLoanInitialDepositTargetQuote>>

Defined in: packages/client/src/modules/simple-loans/types.ts:381

Available collateral deposit targets keyed by the actual transfer chain.