Skip to main content

CreateBorrowRequest

@liquidium/client


@liquidium/client / CreateBorrowRequest

Interface: CreateBorrowRequest

Defined in: packages/client/src/modules/lending/types.ts:86

Fields to build a borrow request. amount is in the borrow pool asset's base units (e.g. satoshis, token smallest units).

Extended by

Properties

amount

amount: bigint

Defined in: packages/client/src/modules/lending/types.ts:92

Amount to borrow in the borrow asset's base units.


chain

chain: Chain

Defined in: packages/client/src/modules/lending/types.ts:94

Chain where borrowed funds should arrive.


poolId

poolId: string

Defined in: packages/client/src/modules/lending/types.ts:90

Borrow pool principal text.


profileId

profileId: string

Defined in: packages/client/src/modules/lending/types.ts:88

Liquidium profile principal text.


receiver

receiver: LiquidiumAccountInput

Defined in: packages/client/src/modules/lending/types.ts:96

Destination that receives the borrowed asset.


signerWalletAddress

signerWalletAddress: string

Defined in: packages/client/src/modules/lending/types.ts:98

Wallet address that signs the borrow authorization.