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