Skip to main content

CreateWithdrawRequest

@liquidium/client


@liquidium/client / CreateWithdrawRequest

Interface: CreateWithdrawRequest

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

Fields to build a withdraw request. amount is in the pool asset's base units.

Extended by

Properties

amount

amount: bigint

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

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


chain

chain: Chain

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

Chain where withdrawn funds should arrive.


poolId

poolId: string

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

Pool principal text to withdraw from.


profileId

profileId: string

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

Liquidium profile principal text.


receiver

receiver: LiquidiumAccountInput

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

Destination that receives the withdrawn asset.


signerWalletAddress

signerWalletAddress: string

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

Wallet address that signs the withdraw authorization.