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 });