Skip to main content

CreateBorrowData

@liquidium/client


@liquidium/client / CreateBorrowData

Interface: CreateBorrowData

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

Prepared borrow request data embedded in the signable action.

Extends

Properties

amount

amount: bigint

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

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

Inherited from

CreateBorrowRequest.amount


chain

chain: Chain

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

Chain where borrowed funds should arrive.

Inherited from

CreateBorrowRequest.chain


expiryTimestamp

expiryTimestamp: bigint

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

Unix expiry timestamp in seconds, included in the signed message.


poolId

poolId: string

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

Borrow pool principal text.

Inherited from

CreateBorrowRequest.poolId


profileId

profileId: string

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

Liquidium profile principal text.

Inherited from

CreateBorrowRequest.profileId


receiver

receiver: LiquidiumAccountInput

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

Destination that receives the borrowed asset.

Inherited from

CreateBorrowRequest.receiver


signerWalletAddress

signerWalletAddress: string

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

Wallet address that signs the borrow authorization.

Inherited from

CreateBorrowRequest.signerWalletAddress