Pooled_zkapp_commands.Pooled_zkapp_commands_inner
module Raw : sig ... end
type t_pooledZkappCommands_failureReason = {
index : Graphql_lib.Scalars.Index.t option; |
failures : Graphql_lib.Scalars.TransactionStatusFailure.t array; |
}
type t_pooledZkappCommands_zkappCommand_feePayer_body = {
publicKey : Graphql_lib.Scalars.PublicKey.t; |
fee : Graphql_lib.Scalars.Fee.t; |
validUntil : Graphql_lib.Scalars.UInt32.t option; |
nonce : Graphql_lib.Scalars.UInt32.t; |
}
type t_pooledZkappCommands_zkappCommand_feePayer = {
body : t_pooledZkappCommands_zkappCommand_feePayer_body; |
authorization : Graphql_ppx_runtime.Json.t; |
}
type 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 =
{
}
type 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 = {
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_preconditions_network_blockchainLength =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type 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_globalSlotSinceGenesis =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type 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 =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type 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 =
{
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 =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type 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_network =
{
snarkedLedgerHash : Graphql_ppx_runtime.Json.t option; |
blockchainLength : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_blockchainLength
option; |
minWindowDensity : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_minWindowDensity
option; |
totalCurrency : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_totalCurrency
option; |
globalSlotSinceGenesis : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_globalSlotSinceGenesis
option; |
stakingEpochData : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_stakingEpochData; |
nextEpochData : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network_nextEpochData; |
}
type 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 =
{
lower : Graphql_lib.Scalars.UInt32.t; |
upper : Graphql_lib.Scalars.UInt32.t; |
}
type 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_preconditions = {
network : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_network; |
account : t_pooledZkappCommands_zkappCommand_accountUpdates_body_preconditions_account; |
}
type 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 = {
body : t_pooledZkappCommands_zkappCommand_accountUpdates_body; |
authorization : t_pooledZkappCommands_zkappCommand_accountUpdates_authorization; |
}
type t_pooledZkappCommands_zkappCommand = {
feePayer : t_pooledZkappCommands_zkappCommand_feePayer; |
accountUpdates : t_pooledZkappCommands_zkappCommand_accountUpdates array; |
memo : Graphql_ppx_runtime.Json.t; |
}
type t_pooledZkappCommands = {
id : Graphql_lib.Scalars.TransactionId.t; |
hash : Graphql_lib.Scalars.TransactionHash.t; |
failureReason : t_pooledZkappCommands_failureReason option array option; |
zkappCommand : t_pooledZkappCommands_zkappCommand; |
}
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