grantMinterRole

Grants the minter role to a user.

Example

import { grantMinterRole } from "thirdweb/modules";
const tx = await grantMinterRole({
contract,
user: userAddress,
});
function grantMinterRole(

Parameters

The transaction options.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

The transaction to send.