Graphql_queries.Send_delegation
module Send_delegation_inner : sig ... end
include module type of struct include Send_delegation_inner end
module Raw = Send_delegation_inner.Raw
type t_sendDelegation_delegation =
Send_delegation_inner.t_sendDelegation_delegation =
{
id : Graphql_lib.Scalars.TransactionId.t; |
}
type t_sendDelegation = Send_delegation_inner.t_sendDelegation = {
delegation : t_sendDelegation_delegation; |
}
type t_variables = Send_delegation_inner.t_variables = {
sender : Graphql_ppx_runtime.Json.t; |
receiver : Graphql_ppx_runtime.Json.t; |
fee : Graphql_ppx_runtime.Json.t; |
nonce : Graphql_ppx_runtime.Json.t option; |
memo : string 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 :
sender:Encoders.PublicKey.input ->
receiver:Encoders.PublicKey.input ->
fee:Encoders.UInt64.input ->
?nonce:Encoders.UInt32.input ->
?memo: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
include module type of struct include Graphql_lib.Serializing.ExtendQuery(Send_delegation_inner) end
val make :
Send_delegation_inner.t_variables ->
< parse : Yojson.Basic.t -> Send_delegation_inner.t
; query : Base.string
; variables : Yojson.Basic.t >