Tooling
Module SDK
Modules
getCancelRecoveryAction

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

getCancelRecoveryAction

Generate the transaction data needed to cancel an ongoing recovery request.

Usage

const action = await getCancelRecoveryAction({
  client: publicClient
})

Parameters

client

  • Type: PublicClient

The public client instance used to interact with the blockchain.

Returns

action

  • Type: Promise<Execution>

Returns an execution object containing:

  • to: Email recovery module contract address
  • target: Email recovery module contract address
  • value: Amount of native tokens to send (0)
  • callData: Encoded function data
  • data: Encoded function data