Module Generated_graphql_queries.Pooled_zkapp_commands

module Pooled_zkapp_commands_inner : sig ... end
include module type of struct include Pooled_zkapp_commands_inner end
type t_pooledZkappCommands_zkappCommand_feePayer = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_feePayer = {
body : t_pooledZkappCommands_zkappCommand_feePayer_body;
authorization : Graphql_ppx_runtime.Json.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_verificationKey = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_verificationKey = {
data : Graphql_lib.Scalars.VerificationKey.t;
hash : Graphql_ppx_runtime.Json.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_permissions = Pooled_zkapp_commands_inner.t_pooledZkappCommands_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_pooledZkappCommands_zkappCommand_accountUpdates_body_update_timing = Pooled_zkapp_commands_inner.t_pooledZkappCommands_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_pooledZkappCommands_zkappCommand_accountUpdates_body_update = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_update = {
appState : Graphql_ppx_runtime.Json.t option array;
delegate : Graphql_lib.Scalars.PublicKey.t option;
verificationKey : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_verificationKey option;
permissions : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_permissions option;
zkappUri : string option;
tokenSymbol : string option;
timing : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update_timing option;
votingFor : Graphql_lib.Scalars.StateHash.t option;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_balanceChange = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_balanceChange = {
magnitude : Graphql_ppx_runtime.Json.t;
sgn : Graphql_ppx_runtime.Json.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency = {
lower : Graphql_ppx_runtime.Json.t;
upper : Graphql_ppx_runtime.Json.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency = {
lower : Graphql_ppx_runtime.Json.t;
upper : Graphql_ppx_runtime.Json.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger = {
hash : Graphql_ppx_runtime.Json.t option;
totalCurrency : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_ledger_totalCurrency option;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData = {
ledger : t_pooledZkappCommands_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_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData_epochLength option;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency = {
lower : Graphql_ppx_runtime.Json.t;
upper : Graphql_ppx_runtime.Json.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger = {
hash : Graphql_ppx_runtime.Json.t option;
totalCurrency : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_ledger_totalCurrency option;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData = {
ledger : t_pooledZkappCommands_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_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData_epochLength option;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_balance = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_balance = {
lower : Graphql_lib.Scalars.Balance.t;
upper : Graphql_lib.Scalars.Balance.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_nonce = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_nonce = {
lower : Graphql_lib.Scalars.UInt32.t;
upper : Graphql_lib.Scalars.UInt32.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account = {
balance : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account_balance option;
nonce : t_pooledZkappCommands_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_pooledZkappCommands_zkappCommand_accountUpdates_body = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_body = {
publicKey : Graphql_lib.Scalars.PublicKey.t;
tokenId : Graphql_lib.Scalars.TokenId.t;
update : t_pooledZkappCommands_zkappCommand_accountUpdates_body_update;
balanceChange : t_pooledZkappCommands_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_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions;
useFullCommitment : bool;
caller : Graphql_lib.Scalars.TokenId.t;
authorizationKind : Graphql_ppx_runtime.Json.t;
}
type t_pooledZkappCommands_zkappCommand_accountUpdates_authorization = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand_accountUpdates_authorization = {
proof : Graphql_ppx_runtime.Json.t option;
signature : Graphql_ppx_runtime.Json.t option;
}
type t_pooledZkappCommands_zkappCommand = Pooled_zkapp_commands_inner.t_pooledZkappCommands_zkappCommand = {
feePayer : t_pooledZkappCommands_zkappCommand_feePayer;
accountUpdates : t_pooledZkappCommands_zkappCommand_accountUpdates array;
memo : Graphql_ppx_runtime.Json.t;
}
type t = Pooled_zkapp_commands_inner.t = {
pooledZkappCommands : t_pooledZkappCommands array;
}
type t_variables = Pooled_zkapp_commands_inner.t_variables = {
public_key : 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 -> unit -> t_variables
val makeDefaultVariables : 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(Pooled_zkapp_commands_inner) end
val make : Pooled_zkapp_commands_inner.t_variables -> < parse : Yojson.Basic.t -> Pooled_zkapp_commands_inner.t ; query : Base.string ; variables : Yojson.Basic.t >