Network.Get_status
module Get_status_inner : sig ... end
include module type of struct include Get_status_inner end
module Raw = Get_status_inner.Raw
type t_genesisBlock_protocolState_consensusState =
Get_status_inner.t_genesisBlock_protocolState_consensusState =
{
blockHeight : Graphql_lib.Scalars.Length.t; |
}
type t_genesisBlock_protocolState =
Get_status_inner.t_genesisBlock_protocolState =
{
consensusState : t_genesisBlock_protocolState_consensusState; |
}
type t_genesisBlock = Get_status_inner.t_genesisBlock = {
stateHash : Scalars.String_json.t; |
protocolState : t_genesisBlock_protocolState; |
}
type t_bestChain_protocolState_blockchainState =
Get_status_inner.t_bestChain_protocolState_blockchainState =
{
utcDate : Serializing.Int64.t; |
}
type t_bestChain_protocolState_consensusState =
Get_status_inner.t_bestChain_protocolState_consensusState =
{
blockHeight : Serializing.Int64.t; |
}
type t_bestChain_protocolState = Get_status_inner.t_bestChain_protocolState = {
blockchainState : t_bestChain_protocolState_blockchainState; |
consensusState : t_bestChain_protocolState_consensusState; |
}
type t_bestChain = Get_status_inner.t_bestChain = {
stateHash : Scalars.String_json.t; |
protocolState : t_bestChain_protocolState; |
}
type t_daemonStatus = Get_status_inner.t_daemonStatus = {
chainId : string; |
peers : t_daemonStatus_peers array; |
}
type t = Get_status_inner.t = {
genesisBlock : t_genesisBlock; |
bestChain : t_bestChain array option; |
daemonStatus : t_daemonStatus; |
syncStatus : t_syncStatus; |
initialPeers : string array; |
}
Serialize the ReasonML GraphQL data that was parsed using the parse function back to the original JSON compatible data
val serializeVariables : unit -> Raw.t_variables
val makeVariables : unit -> t_variables
val makeDefaultVariables : unit -> t_variables
val unsafe_fromJson : Graphql_ppx_runtime.Json.t -> Raw.t
val toJson : Raw.t -> Graphql_ppx_runtime.Json.t
val variablesToJson : Raw.t_variables -> Graphql_ppx_runtime.Json.t
include module type of struct include Graphql_lib.Serializing.ExtendQuery(Get_status_inner) end
val make :
Get_status_inner.t_variables ->
< parse : Yojson.Basic.t -> Get_status_inner.t
; query : Base.string
; variables : Yojson.Basic.t >