register

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

Example

import { register } from "thirdweb/extensions/farcaster";
const transaction = register({
contract,
recovery: ...,
extraStorage: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.