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