Module Generated_graphql_queries.Send_test_zkapp

module Send_test_zkapp_inner : sig ... end
include module type of struct include Send_test_zkapp_inner end
type t_internalSendZkapp_zkapp_zkappCommand_feePayer = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_feePayer = {
body : t_internalSendZkapp_zkapp_zkappCommand_feePayer_body;
authorization : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_verificationKey = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_verificationKey = {
data : Graphql_lib.Scalars.VerificationKey.t;
hash : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_permissions = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_permissions = {
editState : Graphql_ppx_runtime.Json.t;
send : Graphql_ppx_runtime.Json.t;
receive : Graphql_ppx_runtime.Json.t;
setDelegate : Graphql_ppx_runtime.Json.t;
setPermissions : Graphql_ppx_runtime.Json.t;
setVerificationKey : Graphql_ppx_runtime.Json.t;
setZkappUri : Graphql_ppx_runtime.Json.t;
editSequenceState : Graphql_ppx_runtime.Json.t;
setTokenSymbol : Graphql_ppx_runtime.Json.t;
incrementNonce : Graphql_ppx_runtime.Json.t;
setVotingFor : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_timing = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_timing = {
initialMinimumBalance : Graphql_lib.Scalars.Balance.t;
cliffTime : Graphql_lib.Scalars.GlobalSlot.t;
cliffAmount : Graphql_ppx_runtime.Json.t;
vestingPeriod : Graphql_lib.Scalars.GlobalSlot.t;
vestingIncrement : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update = {
appState : Graphql_ppx_runtime.Json.t option array;
delegate : Graphql_lib.Scalars.PublicKey.t option;
verificationKey : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_verificationKey option;
permissions : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_permissions option;
zkappUri : string option;
tokenSymbol : string option;
timing : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update_timing option;
votingFor : Graphql_lib.Scalars.StateHash.t option;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_balanceChange = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_balanceChange = {
magnitude : Graphql_ppx_runtime.Json.t;
sgn : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency = {
lower : Graphql_ppx_runtime.Json.t;
upper : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency = {
lower : Graphql_ppx_runtime.Json.t;
upper : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger = {
hash : Graphql_ppx_runtime.Json.t option;
totalCurrency : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency option;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData = {
ledger : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger;
seed : Graphql_ppx_runtime.Json.t option;
startCheckpoint : Graphql_ppx_runtime.Json.t option;
lockCheckpoint : Graphql_ppx_runtime.Json.t option;
epochLength : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength option;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency = {
lower : Graphql_ppx_runtime.Json.t;
upper : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger = {
hash : Graphql_ppx_runtime.Json.t option;
totalCurrency : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency option;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData = {
ledger : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger;
seed : Graphql_ppx_runtime.Json.t option;
startCheckpoint : Graphql_ppx_runtime.Json.t option;
lockCheckpoint : Graphql_ppx_runtime.Json.t option;
epochLength : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength option;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account_balance = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account_balance = {
lower : Graphql_lib.Scalars.Balance.t;
upper : Graphql_lib.Scalars.Balance.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account_nonce = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account_nonce = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account = {
balance : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account_balance option;
nonce : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions_account_nonce option;
receiptChainHash : Graphql_ppx_runtime.Json.t option;
delegate : Graphql_lib.Scalars.PublicKey.t option;
state : Graphql_ppx_runtime.Json.t option array;
sequenceState : Graphql_ppx_runtime.Json.t option;
provedState : bool option;
isNew : bool option;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body = {
publicKey : Graphql_lib.Scalars.PublicKey.t;
tokenId : Graphql_lib.Scalars.TokenId.t;
update : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_update;
balanceChange : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_balanceChange;
incrementNonce : bool;
events : Graphql_ppx_runtime.Json.t array array;
sequenceEvents : Graphql_ppx_runtime.Json.t array array;
callData : Graphql_ppx_runtime.Json.t;
callDepth : int;
preconditions : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_body_preconditions;
useFullCommitment : bool;
caller : Graphql_lib.Scalars.TokenId.t;
authorizationKind : Graphql_ppx_runtime.Json.t;
}
type t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_authorization = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand_accountUpdates_authorization = {
proof : Graphql_ppx_runtime.Json.t option;
signature : Graphql_ppx_runtime.Json.t option;
}
type t_internalSendZkapp_zkapp_zkappCommand = Send_test_zkapp_inner.t_internalSendZkapp_zkapp_zkappCommand = {
feePayer : t_internalSendZkapp_zkapp_zkappCommand_feePayer;
accountUpdates : t_internalSendZkapp_zkapp_zkappCommand_accountUpdates array;
memo : Graphql_ppx_runtime.Json.t;
}
type t = Send_test_zkapp_inner.t = {
internalSendZkapp : t_internalSendZkapp;
}
type t_variables = Send_test_zkapp_inner.t_variables = {
zkapp_command : Graphql_ppx_runtime.Json.t;
}
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 : zkapp_command: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(Send_test_zkapp_inner) end
val make : Send_test_zkapp_inner.t_variables -> < parse : Yojson.Basic.t -> Send_test_zkapp_inner.t ; query : Base.string ; variables : Yojson.Basic.t >