WithdrawAction
@liquidium/client / WithdrawAction
Interface: WithdrawAction
Defined in: packages/client/src/modules/lending/types.ts:144
Prepared action for creating a withdraw outflow.
Extends
Properties
account
account:
string
Defined in: packages/client/src/core/wallet-actions.ts:138
Default account to pass to the wallet adapter.
Inherited from
SignMessageWalletAction.account
actionType
actionType:
"create-withdraw"
Defined in: packages/client/src/modules/lending/types.ts:151
Adapter-facing action type.
Overrides
SignMessageWalletAction.actionType
data
data:
CreateWithdrawData
Defined in: packages/client/src/core/wallet-actions.ts:142
Original request data needed to submit the signed action.
Inherited from
executionKind
executionKind:
"sign-message"
Defined in: packages/client/src/modules/lending/types.ts:149
Required wallet capability.
Overrides
SignMessageWalletAction.executionKind
kind
kind:
"create-withdraw"
Defined in: packages/client/src/modules/lending/types.ts:147
Protocol action kind.
Overrides
message
message:
string
Defined in: packages/client/src/core/wallet-actions.ts:140
Plaintext message that must be signed.
Inherited from
SignMessageWalletAction.message
Methods
submit()
submit(
signatureInfo):Promise<WithdrawOutflowDetails>
Defined in: packages/client/src/core/wallet-actions.ts:144
Submits the signature and resolves the protocol result.
Parameters
signatureInfo
Returns
Promise<WithdrawOutflowDetails>