Skip to main content

SimpleLoanFindResult

@liquidium/client


@liquidium/client / SimpleLoanFindResult

Interface: SimpleLoanFindResult

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

Lightweight search result for a simple loan match.

Properties

borrow

borrow: SimpleLoanFindBorrow

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

Borrow-side pool and asset.


collateral

collateral: SimpleLoanFindCollateral

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

Collateral-side pool, asset, and requested credited amount.


createdAt

createdAt: bigint

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

Unix creation timestamp in seconds.


loanId

loanId: bigint

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

Canister-assigned loan id. Use this with client.simpleLoans.get({ loanId }) to load full loan state.


profileId

profileId: string

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

Generated profile principal from the search index.


ref

ref: string

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

Short user-facing reference derived from loanId.