useRevokeRole
Hook for revoking a wallet address from a role on a smart contract.
Available to use on contracts that implement Permissions
interface
The wallet address that initiates this transaction must have the relevant permissions on the contract to remove the role from the wallet address (typically "admin"
level required).
A mutation object to revoke a role from a member on the contract
The role to revoke from the wallet address.
Can be any custom role, or a built-in role, such as:
"admin"
"transfer"
"minter"
"pauser"
"lister"
"asset"
"unwrap"
"factory"
The wallet address to revoke the role from.
To use the connected wallet address, use the useAddress
hook.