Docs

register

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

Example

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

Parameters

Returns

A prepared transaction object.