Assign Role

This request grants or revokes a role.

Response

nameTypeRequiredDescription
dataObjectTrueCreated data.
transaction_hashStringTrueHashed value of the requested transaction.

data

nameTypeRequiredDescription
role_idNumberTrueA unique identifier of the role.
nft_kit_idNumberTrueA unique identifier of the NFT kit.
addressStringTrueThe account address that holds the permissions for the specified role.
roleStringTrueThe name of the role. e.g. [ADMIN_ROLE, MANAGER_ROLE]
role_hashStringTrueThe Keccak-256 hash value of the role.
has_roleNumberTrueThe role status.
created_atStringTrueMoment when role request was created.
updated_atStringTrueMoment when role request was updated.
Language
Click Try It! to start a request and see the response here!