transferAndChangeRecovery

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

Example

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

Parameters

The options for the "transferAndChangeRecovery" function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.