Docs

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
...

Parameters

Returns

A prepared transaction object.