changeRecoveryAddress

Prepares a transaction to call the "changeRecoveryAddress" function on the contract.

Example

import { changeRecoveryAddress } from "thirdweb/extensions/farcaster";
const transaction = changeRecoveryAddress({
contract,
recovery: ...,
overrides: {
...
}
});
// Send the transaction
...
function changeRecoveryAddress(
| { asyncParams: () => Promise<ChangeRecoveryAddressParams> }
>,

Parameters

The options for the "changeRecoveryAddress" function.

Type

| { asyncParams: () => Promise<ChangeRecoveryAddressParams> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.