typescript-sdk

Home > @3rdweb/sdk > ModuleWithRoles > revokeAllRolesFromAddress

ModuleWithRoles.revokeAllRolesFromAddress() method

Call this to revoke all roles given to a specific address.

Signature:

revokeAllRolesFromAddress(address: string): Promise<Role[]>;

Parameters

Parameter Type Description
address string The address to revoke all roles for.

Returns:

Promise<Role[]>

A list of roles that were revoked.