rent

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

Example

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

Parameters

Returns

A prepared transaction object.