import { sendTransaction } from "thirdweb";
import { register } from "thirdweb/extensions/farcaster";
const transaction = register({
contract,
registerParams: ...,
signerParams: ...,
extraStorage: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });