Module Get_balance.Get_balance_inner

module Raw : sig ... end
type t_account_balance = {
blockHeight : Scalars.UInt32.t;
stateHash : Graphql_lib.Scalars.StateHash.t option;
liquid : Scalars.UInt64.t option;
total : Scalars.UInt64.t;
}
type t_account = {
balance : t_account_balance;
nonce : Graphql_lib.Scalars.AccountNonce.t option;
}
type t = {
account : t_account option;
}
type t_variables = {
public_key : Graphql_ppx_runtime.Json.t;
token_id : Graphql_ppx_runtime.Json.t option;
}
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 : t_variables -> Raw.t_variables
val makeVariables : public_key:Graphql_ppx_runtime.Json.t -> ?token_id:Graphql_ppx_runtime.Json.t -> 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