Graphql_queries.Snark_pool
module Snark_pool_inner : sig ... end
include module type of struct include Snark_pool_inner end
module Raw = Snark_pool_inner.Raw
type t_snarkPool = Snark_pool_inner.t_snarkPool = {
fee : Graphql_lib.Scalars.Fee.t; |
prover : Graphql_lib.Scalars.PublicKey.t; |
work_ids : int 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(Snark_pool_inner) end
val make :
Snark_pool_inner.t_variables ->
< parse : Yojson.Basic.t -> Snark_pool_inner.t
; query : Base.string
; variables : Yojson.Basic.t >