Tezos_raw_protocol_alpha.Delegate_servicesSourceThis 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 Tezos_protocol_environment_alpha.Error_monad.error += | Not_registered of Tezos_protocol_environment_alpha.Signature.Public_key_hash.tval list :
'a Tezos_protocol_environment_alpha.RPC_context.simple ->
'a ->
?active:bool ->
?inactive:bool ->
?with_minimal_stake:bool ->
?without_minimal_stake:bool ->
unit ->
Tezos_protocol_environment_alpha.Signature.Public_key_hash.t list
Tezos_protocol_environment_alpha.Error_monad.shell_tzresult
Tezos_protocol_environment_alpha.Lwt.ttype info = {full_balance : Alpha_context.Tez.t;Balance + Frozen balance
*)current_frozen_deposits : Alpha_context.Tez.t;frozen_deposits : Alpha_context.Tez.t;staking_balance : Alpha_context.Tez.t;frozen_deposits_limit : Alpha_context.Tez.t option;delegated_contracts : Alpha_context.Contract.t list;delegated_balance : Alpha_context.Tez.t;deactivated : bool;grace_period : Alpha_context.Cycle.t;voting_info : Alpha_context.Vote.delegate_info;active_consensus_key : Tezos_protocol_environment_alpha.Signature.Public_key_hash.t;pending_consensus_keys : (Alpha_context.Cycle.t
* Tezos_protocol_environment_alpha.Signature.Public_key_hash.t)
list;}val consensus_key :
'a Tezos_protocol_environment_alpha.RPC_context.simple ->
'a ->
Tezos_protocol_environment_alpha.Signature.Public_key_hash.t ->
(Tezos_protocol_environment_alpha.Signature.Public_key_hash.t
* (Alpha_context.Cycle.t
* Tezos_protocol_environment_alpha.Signature.Public_key_hash.t)
list)
Tezos_protocol_environment_alpha.Error_monad.shell_tzresult
Tezos_protocol_environment_alpha.Lwt.t