Module Account.Get_balance

module Get_balance_inner : sig ... end
include module type of struct include Get_balance_inner end
type t_account_balance = Get_balance_inner.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 = Get_balance_inner.t = {
account : t_account option;
}
type t_variables = Get_balance_inner.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
include module type of struct include Graphql_lib.Serializing.ExtendQuery(Get_balance_inner) end
val make : Get_balance_inner.t_variables -> < parse : Yojson.Basic.t -> Get_balance_inner.t ; query : Base.string ; variables : Yojson.Basic.t >