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: { chain?: Chain; client: ThirdwebClient; disableCache?: boolean; fid: bigint | number | string; units?: bigint | number | string;};
let returnType: PreparedTransaction< [], AbiFunction, PrepareTransactionOptions>;
A prepared transaction object to rent the storage.