Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
roleName | string | Required | Required | Name of the role to be created. |
roleId | string | Optional | Optional | ID of the role (32 bytes). If not supplied one will be generated for you. |
seed | string | N/A | Optional | If not set at instance creation, allows user to define who sends the Substrate Transactions. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
owner | string | Required | Required | Address representing the owner of the role. |
roleId | string | Required | Required | ID of the role to be fetched. |
wssBaseUrl | string | Required | N/A | WSS URL used to query RBAC storage. Substrate WSS is stored at instance creation. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
owner | string | Required | Required | Address that represents the owner of all the fetched roles. |
wssBaseUrl | string | Required | N/A | WSS URL used to query RBAC storage. Substrate WSS is stored at instance creation. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
roleName | string | Required | Required | Updated role name. |
roleId | string | Required | Required | ID of the role (32 bytes) to be updated. |
seed | string | N/A | Optional | If not set at instance creation, allows user to define who sends the Substrate Transactions. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
roleId | string | Required | Required | The unique identifier (ID) of the role to be disabled. |
seed | string | N/A | Optional | If not set at instance creation, allows user to define who sends the Substrate Transactions. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
userId | string | Required | Required | The unique identifier of the user to whom the role will be assigned. ID created by user and must be 32 bytes. |
roleId | string | Required | Required | ID of the role that will be assigned to the user. |
seed | string | N/A | Optional | If not set at instance creation, allows user to define who sends the Substrate Transactions. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
owner | string | Required | Required | Address of the owner of the roles. This is typically the account that manages the roles and permissions. |
userId | string | Required | Required | Unique identifier of the user for whom roles are to be fetched. |
wssBaseUrl | string | Required | N/A | WSS URL used to query RBAC storage. Substrate WSS is stored at instance creation. |
Parameter | Type | EVM | Substrate | Description |
---|---|---|---|---|
userId | string | Required | Required | ID of the user from which the role should be unassigned. |
roleId | string | Required | Required | ID of the role that needs to be unassigned. |
seed | string | N/A | Optional | If not set at instance creation, allows user to define who sends the Substrate Transactions. |