CreateWithdrawRequest
@liquidium/client / CreateWithdrawRequest
Interface: CreateWithdrawRequest
Defined in: packages/client/src/modules/lending/types.ts:119
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: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.
chain
chain:
Chain
Defined in: packages/client/src/modules/lending/types.ts:130
Chain where withdrawn funds should arrive.
poolId
poolId:
string
Defined in: packages/client/src/modules/lending/types.ts:123
Pool principal text to withdraw from.
profileId
profileId:
string
Defined in: packages/client/src/modules/lending/types.ts:121
Liquidium profile principal text.
receiver
receiver:
LiquidiumAccountInput
Defined in: packages/client/src/modules/lending/types.ts:132
Destination that receives the withdrawn asset.
signerWalletAddress
signerWalletAddress:
string
Defined in: packages/client/src/modules/lending/types.ts:134
Wallet address that signs the withdraw authorization.