Skip to main content

ALL_ROLES

An array containing all the built-in roles supported by the SDK used for Permissions.

Usage

Contains all the supported roles that can be used with the sdk.role methods.

import { ALL_ROLES } from "@thirdweb-dev/sdk";

Return Value

Returns an array of strings with all the supported roles.

[
"admin",
"transfer",
"minter",
"pauser",
"lister",
"asset",
"unwrap",
"factory",
];