Rent storage for the provided farcaster fid.
import { rentStorage } from "thirdweb/extensions/farcaster";import { sendTransaction } from "thirdweb"; const transaction = rentStorage({ client, fid, units,}); await sendTransaction({ transaction, account });
function rentStorage( options: RentStorageParams,): PreparedTransaction<[], AbiFunction, PrepareTransactionOptions>;
The options for calling the rentStorage function.
rentStorage
let options: RentStorageParams;
let returnType: PreparedTransaction< [], AbiFunction, PrepareTransactionOptions>;
A prepared transaction object to rent the storage.