Mavryk_raw_protocol_alpha.Delegate_services
This module defines RPC services to access the information associated to delegates (who they are, their delegators, their different kinds of balances, their activity, etc.).
type Mavryk_protocol_environment_alpha.Error_monad.error +=
| Not_registered of Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t
val list :
'a Mavryk_protocol_environment_alpha.RPC_context.simple ->
'a ->
?active:bool ->
?inactive:bool ->
?with_minimal_stake:bool ->
?without_minimal_stake:bool ->
unit ->
Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t list
Mavryk_protocol_environment_alpha.Error_monad.shell_tzresult
Mavryk_protocol_environment_alpha.Lwt.t
type consensus_key = {
consensus_key_pkh : Mavryk_protocol_environment_alpha.Signature.Public_key_hash.t;
consensus_key_pk : Mavryk_protocol_environment_alpha.Signature.Public_key.t;
}
type consensus_keys_info = {
active : consensus_key;
pendings : (Alpha_context.Cycle.t * consensus_key) list;
}
val deposit_per_cycle_encoding :
deposit_per_cycle Mavryk_protocol_environment_alpha.Data_encoding.t
val current_voting_power :
'a Mavryk_protocol_environment_alpha.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
int64 Mavryk_protocol_environment_alpha.Error_monad.shell_tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val current_baking_power :
'a Mavryk_protocol_environment_alpha.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
int64 Mavryk_protocol_environment_alpha.Error_monad.shell_tzresult
Mavryk_protocol_environment_alpha.Lwt.t
val pending_staking_parameters :
'a Mavryk_protocol_environment_alpha.RPC_context.simple ->
'a ->
Alpha_context.public_key_hash ->
(Alpha_context.Cycle.t * Staking_parameters_repr.t) list
Mavryk_protocol_environment_alpha.Error_monad.shell_tzresult
Mavryk_protocol_environment_alpha.Lwt.t