transferAndChangeRecovery

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

Example

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

Parameters

The options for the "transferAndChangeRecovery" function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.