Account.Get_balance
module Get_balance_inner : sig ... end
include module type of struct include Get_balance_inner end
module Raw = Get_balance_inner.Raw
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_account = Get_balance_inner.t_account = {
balance : t_account_balance; |
nonce : Graphql_lib.Scalars.AccountNonce.t option; |
}
type t_variables = Get_balance_inner.t_variables = {
public_key : Graphql_ppx_runtime.Json.t; |
token_id : Graphql_ppx_runtime.Json.t option; |
}
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 >