Skip to main content

Namespace: Json

Types.Json

Table of contents

Type Aliases

Type Aliases

AccountUpdate

Ƭ AccountUpdate: Object

Type declaration

NameType
authorization{ proof: string | null ; signature: string | null }
authorization.proofstring | null
authorization.signaturestring | null
body{ authorizationKind: AuthorizationKind ; balanceChange: { magnitude: UInt64 ; sgn: Sign } ; callData: Field ; callDepth: number ; caller: TokenId ; events: Field[][] ; incrementNonce: Bool ; preconditions: { account: { balance: { lower: UInt64 ; upper: UInt64 } | null ; delegate: PublicKey | null ; isNew: Bool | null ; nonce: { lower: UInt32 ; upper: UInt32 } | null ; provedState: Bool | null ; receiptChainHash: Field | null ; sequenceState: Field | null ; state: (Field | null)[] } ; network: { blockchainLength: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceGenesis: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceHardFork: { lower: UInt32 ; upper: UInt32 } | null ; minWindowDensity: { lower: UInt32 ; upper: UInt32 } | null ; nextEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; snarkedLedgerHash: Field | null ; stakingEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; timestamp: { lower: UInt64 ; upper: UInt64 } | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } } ; publicKey: PublicKey ; sequenceEvents: Field[][] ; tokenId: TokenId ; update: { appState: (Field | null)[] ; delegate: PublicKey | null ; permissions: { editSequenceState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: AuthRequired ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } | null ; timing: { cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } | null ; tokenSymbol: string | null ; verificationKey: { data: string ; hash: Field } | null ; votingFor: Field | null ; zkappUri: string | null } ; useFullCommitment: Bool }
body.authorizationKindAuthorizationKind
body.balanceChange{ magnitude: UInt64 ; sgn: Sign }
body.balanceChange.magnitudeUInt64
body.balanceChange.sgnSign
body.callDataField
body.callDepthnumber
body.callerTokenId
body.eventsField[][]
body.incrementNonceBool
body.preconditions{ account: { balance: { lower: UInt64 ; upper: UInt64 } | null ; delegate: PublicKey | null ; isNew: Bool | null ; nonce: { lower: UInt32 ; upper: UInt32 } | null ; provedState: Bool | null ; receiptChainHash: Field | null ; sequenceState: Field | null ; state: (Field | null)[] } ; network: { blockchainLength: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceGenesis: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceHardFork: { lower: UInt32 ; upper: UInt32 } | null ; minWindowDensity: { lower: UInt32 ; upper: UInt32 } | null ; nextEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; snarkedLedgerHash: Field | null ; stakingEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; timestamp: { lower: UInt64 ; upper: UInt64 } | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } }
body.preconditions.account{ balance: { lower: UInt64 ; upper: UInt64 } | null ; delegate: PublicKey | null ; isNew: Bool | null ; nonce: { lower: UInt32 ; upper: UInt32 } | null ; provedState: Bool | null ; receiptChainHash: Field | null ; sequenceState: Field | null ; state: (Field | null)[] }
body.preconditions.account.balance{ lower: UInt64 ; upper: UInt64 } | null
body.preconditions.account.delegatePublicKey | null
body.preconditions.account.isNewBool | null
body.preconditions.account.nonce{ lower: UInt32 ; upper: UInt32 } | null
body.preconditions.account.provedStateBool | null
body.preconditions.account.receiptChainHashField | null
body.preconditions.account.sequenceStateField | null
body.preconditions.account.state(Field | null)[]
body.preconditions.network{ blockchainLength: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceGenesis: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceHardFork: { lower: UInt32 ; upper: UInt32 } | null ; minWindowDensity: { lower: UInt32 ; upper: UInt32 } | null ; nextEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; snarkedLedgerHash: Field | null ; stakingEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; timestamp: { lower: UInt64 ; upper: UInt64 } | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null }
body.preconditions.network.blockchainLength{ lower: UInt32 ; upper: UInt32 } | null
body.preconditions.network.globalSlotSinceGenesis{ lower: UInt32 ; upper: UInt32 } | null
body.preconditions.network.globalSlotSinceHardFork{ lower: UInt32 ; upper: UInt32 } | null
body.preconditions.network.minWindowDensity{ lower: UInt32 ; upper: UInt32 } | null
body.preconditions.network.nextEpochData{ epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null }
body.preconditions.network.nextEpochData.epochLength{ lower: UInt32 ; upper: UInt32 } | null
body.preconditions.network.nextEpochData.ledger{ hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null }
body.preconditions.network.nextEpochData.ledger.hashField | null
body.preconditions.network.nextEpochData.ledger.totalCurrency{ lower: UInt64 ; upper: UInt64 } | null
body.preconditions.network.nextEpochData.lockCheckpointField | null
body.preconditions.network.nextEpochData.seedField | null
body.preconditions.network.nextEpochData.startCheckpointField | null
body.preconditions.network.snarkedLedgerHashField | null
body.preconditions.network.stakingEpochData{ epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null }
body.preconditions.network.stakingEpochData.epochLength{ lower: UInt32 ; upper: UInt32 } | null
body.preconditions.network.stakingEpochData.ledger{ hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null }
body.preconditions.network.stakingEpochData.ledger.hashField | null
body.preconditions.network.stakingEpochData.ledger.totalCurrency{ lower: UInt64 ; upper: UInt64 } | null
body.preconditions.network.stakingEpochData.lockCheckpointField | null
body.preconditions.network.stakingEpochData.seedField | null
body.preconditions.network.stakingEpochData.startCheckpointField | null
body.preconditions.network.timestamp{ lower: UInt64 ; upper: UInt64 } | null
body.preconditions.network.totalCurrency{ lower: UInt64 ; upper: UInt64 } | null
body.publicKeyPublicKey
body.sequenceEventsField[][]
body.tokenIdTokenId
body.update{ appState: (Field | null)[] ; delegate: PublicKey | null ; permissions: { editSequenceState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: AuthRequired ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } | null ; timing: { cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } | null ; tokenSymbol: string | null ; verificationKey: { data: string ; hash: Field } | null ; votingFor: Field | null ; zkappUri: string | null }
body.update.appState(Field | null)[]
body.update.delegatePublicKey | null
body.update.permissions{ editSequenceState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: AuthRequired ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } | null
body.update.timing{ cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } | null
body.update.tokenSymbolstring | null
body.update.verificationKey{ data: string ; hash: Field } | null
body.update.votingForField | null
body.update.zkappUristring | null
body.useFullCommitmentBool

Defined in

provable/gen/transaction-json.ts:174


AuthRequired

Ƭ AuthRequired: "Signature" | "Proof" | "Either" | "None" | "Impossible"

Defined in

provable/transaction-leaves-json.ts:19


AuthorizationKind

Ƭ AuthorizationKind: "Signature" | "Proof" | "None_given"

Defined in

provable/transaction-leaves-json.ts:20


Bool

Ƭ Bool: boolean

Defined in

provable/transaction-leaves-json.ts:14


Field

Ƭ Field: string

Defined in

provable/transaction-leaves-json.ts:13


PublicKey

Ƭ PublicKey: string

Defined in

provable/transaction-leaves-json.ts:17


Sign

Ƭ Sign: "Positive" | "Negative"

Defined in

provable/transaction-leaves-json.ts:18


TokenId

Ƭ TokenId: Field

Defined in

provable/transaction-leaves-json.ts:21


TypeMap

Ƭ TypeMap: Object

Type declaration

NameType
AuthRequiredAuthRequired
AuthorizationKindAuthorizationKind
BoolBool
FieldField
PublicKeyPublicKey
SignSign
TokenIdTokenId
UInt32UInt32
UInt64UInt64

Defined in

provable/gen/transaction-json.ts:19


UInt32

Ƭ UInt32: string

Defined in

provable/transaction-leaves-json.ts:16


UInt64

Ƭ UInt64: string

Defined in

provable/transaction-leaves-json.ts:15


ZkappCommand

Ƭ ZkappCommand: Object

Type declaration

NameType
accountUpdates{ authorization: { proof: string | null ; signature: string | null } ; body: { authorizationKind: AuthorizationKind ; balanceChange: { magnitude: UInt64 ; sgn: Sign } ; callData: Field ; callDepth: number ; caller: TokenId ; events: Field[][] ; incrementNonce: Bool ; preconditions: { account: { balance: { lower: UInt64 ; upper: UInt64 } | null ; delegate: PublicKey | null ; isNew: Bool | null ; nonce: { lower: UInt32 ; upper: UInt32 } | null ; provedState: Bool | null ; receiptChainHash: Field | null ; sequenceState: Field | null ; state: (Field | null)[] } ; network: { blockchainLength: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceGenesis: { lower: UInt32 ; upper: UInt32 } | null ; globalSlotSinceHardFork: { lower: UInt32 ; upper: UInt32 } | null ; minWindowDensity: { lower: UInt32 ; upper: UInt32 } | null ; nextEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; snarkedLedgerHash: Field | null ; stakingEpochData: { epochLength: { lower: UInt32 ; upper: UInt32 } | null ; ledger: { hash: Field | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } ; lockCheckpoint: Field | null ; seed: Field | null ; startCheckpoint: Field | null } ; timestamp: { lower: UInt64 ; upper: UInt64 } | null ; totalCurrency: { lower: UInt64 ; upper: UInt64 } | null } } ; publicKey: PublicKey ; sequenceEvents: Field[][] ; tokenId: TokenId ; update: { appState: (Field | null)[] ; delegate: PublicKey | null ; permissions: { editSequenceState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: AuthRequired ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } | null ; timing: { cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } | null ; tokenSymbol: string | null ; verificationKey: { data: string ; hash: Field } | null ; votingFor: Field | null ; zkappUri: string | null } ; useFullCommitment: Bool } }[]
feePayer{ authorization: string ; body: { fee: UInt64 ; nonce: UInt32 ; publicKey: PublicKey ; validUntil: UInt32 | null } }
feePayer.authorizationstring
feePayer.body{ fee: UInt64 ; nonce: UInt32 ; publicKey: PublicKey ; validUntil: UInt32 | null }
feePayer.body.feeUInt64
feePayer.body.nonceUInt32
feePayer.body.publicKeyPublicKey
feePayer.body.validUntilUInt32 | null
memostring

Defined in

provable/gen/transaction-json.ts:31