Prepares a transaction to call the "rent" function on the contract.
import { sendTransaction } from "thirdweb";import { rent } from "thirdweb/extensions/farcaster"; const transaction = rent({ contract, fid: ..., units: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function rent( RentParams | { asyncParams: () => Promise<RentParams> } >,
The options for the "rent" function.
A prepared transaction object.