Docs

batchRent

Prepares a transaction to call the "batchRent" function on the contract.

Example

import { batchRent } from "thirdweb/extensions/farcaster";
const transaction = batchRent({
contract,
fids: ...,
units: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.