Docs

rent

Calls the "rent" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.