Prepares a transaction to call the "register" function on the contract.
import { sendTransaction } from "thirdweb";import { register } from "thirdweb/extensions/farcaster"; const transaction = register({ contract, registerParams: ..., signerParams: ..., extraStorage: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function register( options: BaseTransactionOptions< RegisterParams | { asyncParams: () => Promise<RegisterParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "register" function.
let options: BaseTransactionOptions< RegisterParams | { asyncParams: () => Promise<RegisterParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.