Grants the minter role to a user.
import { grantMinterRole } from "thirdweb/modules"; const tx = await grantMinterRole({ contract, user: userAddress,});
function grantMinterRole( options: BaseTransactionOptions<GrantMinterRoleParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The transaction options.
let options: BaseTransactionOptions<GrantMinterRoleParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
The transaction to send.