Skip to main content

CreateWithdrawData

@liquidium/client


@liquidium/client / CreateWithdrawData

Interface: CreateWithdrawData

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

Prepared withdraw request data embedded in the signable action.

Extends

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.

Inherited from

CreateWithdrawRequest.amount


chain

chain: Chain

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

Chain where withdrawn funds should arrive.

Inherited from

CreateWithdrawRequest.chain


expiryTimestamp

expiryTimestamp: bigint

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

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


poolId

poolId: string

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

Pool principal text to withdraw from.

Inherited from

CreateWithdrawRequest.poolId


profileId

profileId: string

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

Liquidium profile principal text.

Inherited from

CreateWithdrawRequest.profileId


receiver

receiver: LiquidiumAccountInput

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

Destination that receives the withdrawn asset.

Inherited from

CreateWithdrawRequest.receiver


signerWalletAddress

signerWalletAddress: string

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

Wallet address that signs the withdraw authorization.

Inherited from

CreateWithdrawRequest.signerWalletAddress