Module Pending_snark_work.Pending_snark_work_inner

module Raw : sig ... end
type t_pendingSnarkWork_workBundle_fee_excess_sign = [
| `PLUS
| `MINUS
]
type t_pendingSnarkWork_workBundle_fee_excess = {
sign : t_pendingSnarkWork_workBundle_fee_excess_sign;
fee_magnitude : Graphql_lib.Scalars.Amount.t;
}
type t_pendingSnarkWork_workBundle = {
source_ledger_hash : Graphql_lib.Scalars.LedgerHash.t;
target_ledger_hash : Graphql_lib.Scalars.LedgerHash.t;
fee_excess : t_pendingSnarkWork_workBundle_fee_excess;
supply_increase : Graphql_lib.Scalars.Amount.t;
work_id : int;
}
type t_pendingSnarkWork = {
workBundle : t_pendingSnarkWork_workBundle array;
}
type t = {
pendingSnarkWork : t_pendingSnarkWork 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