Skip to main content

RecoveryAction

@liquidium/client


@liquidium/client / RecoveryAction

Interface: RecoveryAction

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

Prepared wallet-signature recovery action.

Extends​

Properties​

account​

account: string

Defined in: packages/client/src/core/wallet-actions.ts:150

Default account to pass to the wallet adapter.

Inherited from​

SignMessageWalletAction.account


actionType​

actionType: "recover-funds"

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

Adapter-facing action type.

Overrides​

SignMessageWalletAction.actionType


data​

data: RecoveryData

Defined in: packages/client/src/core/wallet-actions.ts:154

Original request data needed to submit the signed action.

Inherited from​

SignMessageWalletAction.data


executionKind​

executionKind: "sign-message"

Defined in: packages/client/src/core/wallet-actions.ts:146

Wallet capability required to execute the action.

Inherited from​

SignMessageWalletAction.executionKind


kind​

kind: "recover-funds"

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

Protocol action kind.

Overrides​

SignMessageWalletAction.kind


message​

message: string

Defined in: packages/client/src/core/wallet-actions.ts:152

Plaintext message that must be signed.

Inherited from​

SignMessageWalletAction.message

Methods​

submit()​

submit(signatureInfo): Promise<RecoveryResult>

Defined in: packages/client/src/core/wallet-actions.ts:156

Submits the signature and resolves the protocol result.

Parameters​

signatureInfo​

SignatureInfo

Returns​

Promise<RecoveryResult>

Inherited from​

SignMessageWalletAction.submit