Skip to main content

CreateBorrowData

@liquidium/client


@liquidium/client / CreateBorrowData

Interface: CreateBorrowData

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

Prepared borrow request data embedded in the signable action.

Extends​

Properties​

amount​

amount: bigint

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

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:97

Chain where borrowed funds should arrive.

Inherited from​

CreateBorrowRequest.chain


expiryTimestamp​

expiryTimestamp: bigint

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

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


poolId​

poolId: string

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

Borrow pool principal text.

Inherited from​

CreateBorrowRequest.poolId


profileId​

profileId: string

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

Liquidium profile principal text.

Inherited from​

CreateBorrowRequest.profileId


receiver​

receiver: LiquidiumAccountInput

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

Destination that receives the borrowed asset.

Inherited from​

CreateBorrowRequest.receiver


signerWalletAddress​

signerWalletAddress: string

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

Wallet address that signs the borrow authorization.

Inherited from​

CreateBorrowRequest.signerWalletAddress