import { sendTransaction } from "thirdweb";
import { addFor } from "thirdweb/extensions/farcaster";
const transaction = addFor({
contract,
fidOwner: ...,
keyType: ...,
key: ...,
metadataType: ...,
metadata: ...,
deadline: ...,
sig: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });