Skip to main content

CreateWithdrawData

@liquidium/client


@liquidium/client / CreateWithdrawData

Interface: CreateWithdrawData

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

Prepared withdraw request data embedded in the signable action.

Extends

Properties

amount

amount: bigint

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

Amount to withdraw in the pool asset's base units. BTC withdrawals require at least 5,000 sats. USDC and USDT withdrawals require at least 1 token.

Inherited from

CreateWithdrawRequest.amount


chain

chain: Chain

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

Chain where withdrawn funds should arrive.

Inherited from

CreateWithdrawRequest.chain


expiryTimestamp

expiryTimestamp: bigint

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

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


poolId

poolId: string

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

Pool principal text to withdraw from.

Inherited from

CreateWithdrawRequest.poolId


profileId

profileId: string

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

Liquidium profile principal text.

Inherited from

CreateWithdrawRequest.profileId


receiver

receiver: LiquidiumAccountInput

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

Destination that receives the withdrawn asset.

Inherited from

CreateWithdrawRequest.receiver


signerWalletAddress

signerWalletAddress: string

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

Wallet address that signs the withdraw authorization.

Inherited from

CreateWithdrawRequest.signerWalletAddress