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
module Raw = Get_coinbase_and_genesis_inner.Raw
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_genesisBlock_protocolState =
Get_coinbase_and_genesis_inner.t_genesisBlock_protocolState =
{
blockchainState : t_genesisBlock_protocolState_blockchainState; |
consensusState : t_genesisBlock_protocolState_consensusState; |
}
type t_genesisBlock = Get_coinbase_and_genesis_inner.t_genesisBlock = {
creatorAccount : t_genesisBlock_creatorAccount; |
winnerAccount : t_genesisBlock_winnerAccount; |
protocolState : t_genesisBlock_protocolState; |
stateHash : Scalars.String_json.t; |
}
type t = Get_coinbase_and_genesis_inner.t = {
genesisBlock : t_genesisBlock; |
daemonStatus : t_daemonStatus; |
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_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 >