Module Send_payment.Send_payment_inner

module Raw : sig ... end
type t_sendPayment_payment = {
hash : Scalars.String_json.t;
}
type t_sendPayment = {
payment : t_sendPayment_payment;
}
type t = {
sendPayment : t_sendPayment;
}
type t_variables = {
from : Graphql_ppx_runtime.Json.t;
to_ : Graphql_ppx_runtime.Json.t;
token : Graphql_ppx_runtime.Json.t option;
amount : Graphql_ppx_runtime.Json.t;
fee : Graphql_ppx_runtime.Json.t;
validUntil : Graphql_ppx_runtime.Json.t option;
memo : string option;
nonce : Graphql_ppx_runtime.Json.t;
signature : string;
}
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 : from:Graphql_ppx_runtime.Json.t -> to_:Graphql_ppx_runtime.Json.t -> ?token:Graphql_ppx_runtime.Json.t -> amount:Graphql_ppx_runtime.Json.t -> fee:Graphql_ppx_runtime.Json.t -> ?validUntil:Graphql_ppx_runtime.Json.t -> ?memo:string -> nonce:Graphql_ppx_runtime.Json.t -> signature:string -> 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