Module Block.Get_coinbase_and_genesis

module Get_coinbase_and_genesis_inner : sig ... end
include module type of struct include Get_coinbase_and_genesis_inner end
type t_genesisBlock_creatorAccount = Get_coinbase_and_genesis_inner.t_genesisBlock_creatorAccount = {
publicKey : Scalars.String_json.t;
}
type t_genesisBlock_winnerAccount = Get_coinbase_and_genesis_inner.t_genesisBlock_winnerAccount = {
publicKey : Scalars.String_json.t;
}
type t_genesisBlock_protocolState_blockchainState = Get_coinbase_and_genesis_inner.t_genesisBlock_protocolState_blockchainState = {
date : Scalars.String_json.t;
}
type t_genesisBlock_protocolState_consensusState = Get_coinbase_and_genesis_inner.t_genesisBlock_protocolState_consensusState = {
blockHeight : Graphql_lib.Scalars.Length.t;
}
type t_daemonStatus = Get_coinbase_and_genesis_inner.t_daemonStatus = {
chainId : string;
}
type t = Get_coinbase_and_genesis_inner.t = {
genesisBlock : t_genesisBlock;
daemonStatus : t_daemonStatus;
initialPeers : string array;
}
type t_variables = unit
val query : string

The GraphQL query

val parse : Raw.t -> t

Parse the JSON-compatible GraphQL data to ReasonML data types

val serialize : t -> Raw.t

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_coinbase_and_genesis_inner) end
val make : Get_coinbase_and_genesis_inner.t_variables -> < parse : Yojson.Basic.t -> Get_coinbase_and_genesis_inner.t ; query : Base.string ; variables : Yojson.Basic.t >