ban_bakers
An entrypoint that bans or unbans baker on the specified period (in seconds). Can ban/unban a group of bakers in one transaction. To unban baker, period of banning must be equal to 0.
Call parameters
Field | Type | Description |
---|---|---|
baker | key_hash | A baker address to ban or unban |
period | nat | Period during which baker will be banned (in seconds). 0 to unban baker |
Usage
Errors
Not-admin
-sender
of the transaction is not current administrator.
Last updated