RPC.Baking_rights
type t = {
level : Mavryk_protocol_alpha.Protocol.Alpha_context.Raw_level.t;
delegate : Mavryk_protocol_alpha.Protocol.Alpha_context.public_key_hash;
consensus_key : Mavryk_protocol_alpha.Protocol.Alpha_context.public_key_hash;
round : Mavryk_protocol_alpha.Protocol.Alpha_context.Round.t;
timestamp : Mavryk_protocol_alpha.Protocol.Alpha_context.Timestamp.t option;
}
val encoding : t Mavryk_protocol_alpha.Environment.Data_encoding.encoding
module S : sig ... end
val baking_rights_at_level :
Mavryk_raw_protocol_alpha__Alpha_context.t ->
Mavryk_protocol_alpha.Protocol.Alpha_context.Round.t ->
Mavryk_protocol_alpha.Protocol.Alpha_context.Level.t ->
(Mavryk_raw_protocol_alpha__Alpha_context.t * t list,
Mavryk_protocol_environment_alpha.Error_monad.error
Mavryk_protocol_environment_alpha.Error_monad.trace)
Stdlib.result
Lwt.t
val get :
'a Mavryk_protocol_alpha.Environment.RPC_context.simple ->
?levels:Mavryk_protocol_alpha.Protocol.Alpha_context.Raw_level.t list ->
?cycle:Mavryk_protocol_alpha.Protocol.Alpha_context.Cycle.t ->
?delegates:Mavryk_protocol_alpha.Environment.Signature.Public_key_hash.t list ->
?consensus_keys:
Mavryk_protocol_alpha.Environment.Signature.Public_key_hash.t list ->
?all:bool ->
?max_round:int ->
'b ->
t list Mavryk_protocol_environment_alpha.Error_monad.shell_tzresult
Mavryk_protocol_environment_alpha.Lwt.t