Namespace: Json
Types.Json
Table of contents
Type Aliases
Type Aliases
Account
Ƭ Account: Object
Type declaration
Name | Type |
---|---|
balance | UInt64 |
delegate | PublicKey | null |
nonce | UInt32 |
permissions | { access : AuthRequired ; editActionState : AuthRequired ; editState : AuthRequired ; incrementNonce : AuthRequired ; receive : AuthRequired ; send : AuthRequired ; setDelegate : AuthRequired ; setPermissions : AuthRequired ; setTiming : AuthRequired ; setTokenSymbol : AuthRequired ; setVerificationKey : AuthRequired ; setVotingFor : AuthRequired ; setZkappUri : AuthRequired } |
permissions.access | AuthRequired |
permissions.editActionState | AuthRequired |
permissions.editState | AuthRequired |
permissions.incrementNonce | AuthRequired |
permissions.receive | AuthRequired |
permissions.send | AuthRequired |
permissions.setDelegate | AuthRequired |
permissions.setPermissions | AuthRequired |
permissions.setTiming | AuthRequired |
permissions.setTokenSymbol | AuthRequired |
permissions.setVerificationKey | AuthRequired |
permissions.setVotingFor | AuthRequired |
permissions.setZkappUri | AuthRequired |
publicKey | PublicKey |
receiptChainHash | Field |
timing | { cliffAmount : UInt64 ; cliffTime : UInt32 ; initialMinimumBalance : UInt64 ; isTimed : Bool ; vestingIncrement : UInt64 ; vestingPeriod : UInt32 } |
timing.cliffAmount | UInt64 |
timing.cliffTime | UInt32 |
timing.initialMinimumBalance | UInt64 |
timing.isTimed | Bool |
timing.vestingIncrement | UInt64 |
timing.vestingPeriod | UInt32 |
tokenId | TokenId |
tokenSymbol | string |
votingFor | Field |
zkapp | { actionState : Field [] ; appState : Field [] ; lastActionSlot : UInt32 ; provedState : Bool ; verificationKey : { data : string ; hash : Field } | null ; zkappUri : string ; zkappVersion : UInt32 } | null |
Defined in
bindings/mina-transaction/gen/transaction-json.ts:315
AccountUpdate
Ƭ AccountUpdate: Object
Type declaration
Name | Type |
---|---|
authorization | { proof : string | null ; signature : string | null } |
authorization.proof | string | null |
authorization.signature | string | null |
body | { actions : Field [][] ; authorizationKind : { isProved : Bool ; isSigned : Bool ; verificationKeyHash : Field } ; balanceChange : { magnitude : UInt64 ; sgn : Sign } ; callData : Field ; callDepth : number ; events : Field [][] ; implicitAccountCreationFee : Bool ; incrementNonce : Bool ; mayUseToken : { inheritFromParent : Bool ; parentsOwnToken : Bool } ; preconditions : { account : { actionState : Field | null ; balance : { lower : UInt64 ; upper : UInt64 } | null ; delegate : PublicKey | null ; isNew : Bool | null ; nonce : { lower : UInt32 ; upper : UInt32 } | null ; provedState : Bool | null ; receiptChainHash : Field | null ; state : (Field | null )[] } ; network : { blockchainLength : { lower : UInt32 ; upper : UInt32 } | null ; globalSlotSinceGenesis : { 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 } ; totalCurrency : { lower : UInt64 ; upper : UInt64 } | null } ; validWhile : { lower : UInt32 ; upper : UInt32 } | null } ; publicKey : PublicKey ; tokenId : TokenId ; update : { appState : (Field | null )[] ; delegate : PublicKey | null ; permissions : { access : AuthRequired ; editActionState : AuthRequired ; editState : AuthRequired ; incrementNonce : AuthRequired ; receive : AuthRequired ; send : AuthRequired ; setDelegate : AuthRequired ; setPermissions : AuthRequired ; setTiming : 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.actions | Field [][] |
body.authorizationKind | { isProved : Bool ; isSigned : Bool ; verificationKeyHash : Field } |
body.authorizationKind.isProved | Bool |
body.authorizationKind.isSigned | Bool |
body.authorizationKind.verificationKeyHash | Field |
body.balanceChange | { magnitude : UInt64 ; sgn : Sign } |
body.balanceChange.magnitude | UInt64 |
body.balanceChange.sgn | Sign |
body.callData | Field |
body.callDepth | number |
body.events | Field [][] |
body.implicitAccountCreationFee | Bool |
body.incrementNonce | Bool |
body.mayUseToken | { inheritFromParent : Bool ; parentsOwnToken : Bool } |
body.mayUseToken.inheritFromParent | Bool |
body.mayUseToken.parentsOwnToken | Bool |
body.preconditions | { account : { actionState : Field | null ; balance : { lower : UInt64 ; upper : UInt64 } | null ; delegate : PublicKey | null ; isNew : Bool | null ; nonce : { lower : UInt32 ; upper : UInt32 } | null ; provedState : Bool | null ; receiptChainHash : Field | null ; state : (Field | null )[] } ; network : { blockchainLength : { lower : UInt32 ; upper : UInt32 } | null ; globalSlotSinceGenesis : { 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 } ; totalCurrency : { lower : UInt64 ; upper : UInt64 } | null } ; validWhile : { lower : UInt32 ; upper : UInt32 } | null } |
body.preconditions.account | { actionState : Field | null ; balance : { lower : UInt64 ; upper : UInt64 } | null ; delegate : PublicKey | null ; isNew : Bool | null ; nonce : { lower : UInt32 ; upper : UInt32 } | null ; provedState : Bool | null ; receiptChainHash : Field | null ; state : (Field | null )[] } |
body.preconditions.account.actionState | Field | null |
body.preconditions.account.balance | { lower : UInt64 ; upper : UInt64 } | null |
body.preconditions.account.delegate | PublicKey | null |
body.preconditions.account.isNew | Bool | null |
body.preconditions.account.nonce | { lower : UInt32 ; upper : UInt32 } | null |
body.preconditions.account.provedState | Bool | null |
body.preconditions.account.receiptChainHash | Field | null |
body.preconditions.account.state | (Field | null )[] |
body.preconditions.network | { blockchainLength : { lower : UInt32 ; upper : UInt32 } | null ; globalSlotSinceGenesis : { 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 } ; 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.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.hash | Field | null |
body.preconditions.network.nextEpochData.ledger.totalCurrency | { lower : UInt64 ; upper : UInt64 } | null |
body.preconditions.network.nextEpochData.lockCheckpoint | Field | null |
body.preconditions.network.nextEpochData.seed | Field | null |
body.preconditions.network.nextEpochData.startCheckpoint | Field | null |
body.preconditions.network.snarkedLedgerHash | Field | 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.hash | Field | null |
body.preconditions.network.stakingEpochData.ledger.totalCurrency | { lower : UInt64 ; upper : UInt64 } | null |
body.preconditions.network.stakingEpochData.lockCheckpoint | Field | null |
body.preconditions.network.stakingEpochData.seed | Field | null |
body.preconditions.network.stakingEpochData.startCheckpoint | Field | null |
body.preconditions.network.totalCurrency | { lower : UInt64 ; upper : UInt64 } | null |
body.preconditions.validWhile | { lower : UInt32 ; upper : UInt32 } | null |
body.publicKey | PublicKey |
body.tokenId | TokenId |
body.update | { appState : (Field | null )[] ; delegate : PublicKey | null ; permissions : { access : AuthRequired ; editActionState : AuthRequired ; editState : AuthRequired ; incrementNonce : AuthRequired ; receive : AuthRequired ; send : AuthRequired ; setDelegate : AuthRequired ; setPermissions : AuthRequired ; setTiming : 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.delegate | PublicKey | null |
body.update.permissions | { access : AuthRequired ; editActionState : AuthRequired ; editState : AuthRequired ; incrementNonce : AuthRequired ; receive : AuthRequired ; send : AuthRequired ; setDelegate : AuthRequired ; setPermissions : AuthRequired ; setTiming : 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.tokenSymbol | string | null |
body.update.verificationKey | { data : string ; hash : Field } | null |
body.update.votingFor | Field | null |
body.update.zkappUri | string | null |
body.useFullCommitment | Bool |
Defined in
bindings/mina-transaction/gen/transaction-json.ts:178
AuthRequired
Ƭ AuthRequired: "Signature"
| "Proof"
| "Either"
| "None"
| "Impossible"
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:9
Bool
Ƭ Bool: boolean
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:4
Field
Ƭ Field: string
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:3
PublicKey
Ƭ PublicKey: string
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:7
Sign
Ƭ Sign: "Positive"
| "Negative"
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:8
TokenId
Ƭ TokenId: Field
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:10
TypeMap
Ƭ TypeMap: Object
Type declaration
Name | Type |
---|---|
AuthRequired | AuthRequired |
Bool | Bool |
Field | Field |
PublicKey | PublicKey |
Sign | Sign |
TokenId | TokenId |
UInt32 | UInt32 |
UInt64 | UInt64 |
Defined in
bindings/mina-transaction/gen/transaction-json.ts:18
UInt32
Ƭ UInt32: string
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:6
UInt64
Ƭ UInt64: string
Defined in
bindings/mina-transaction/transaction-leaves-json.ts:5
ZkappCommand
Ƭ ZkappCommand: Object
Type declaration
Name | Type |
---|---|
accountUpdates | { authorization : { proof : string | null ; signature : string | null } ; body : { actions : Field [][] ; authorizationKind : { isProved : Bool ; isSigned : Bool ; verificationKeyHash : Field } ; balanceChange : { magnitude : UInt64 ; sgn : Sign } ; callData : Field ; callDepth : number ; events : Field [][] ; implicitAccountCreationFee : Bool ; incrementNonce : Bool ; mayUseToken : { inheritFromParent : Bool ; parentsOwnToken : Bool } ; preconditions : { account : { actionState : Field | null ; balance : { lower : UInt64 ; upper : UInt64 } | null ; delegate : PublicKey | null ; isNew : Bool | null ; nonce : { lower : UInt32 ; upper : UInt32 } | null ; provedState : Bool | null ; receiptChainHash : Field | null ; state : (Field | null )[] } ; network : { blockchainLength : { lower : UInt32 ; upper : UInt32 } | null ; globalSlotSinceGenesis : { 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 } ; totalCurrency : { lower : UInt64 ; upper : UInt64 } | null } ; validWhile : { lower : UInt32 ; upper : UInt32 } | null } ; publicKey : PublicKey ; tokenId : TokenId ; update : { appState : (Field | null )[] ; delegate : PublicKey | null ; permissions : { access : AuthRequired ; editActionState : AuthRequired ; editState : AuthRequired ; incrementNonce : AuthRequired ; receive : AuthRequired ; send : AuthRequired ; setDelegate : AuthRequired ; setPermissions : AuthRequired ; setTiming : 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.authorization | string |
feePayer.body | { fee : UInt64 ; nonce : UInt32 ; publicKey : PublicKey ; validUntil : UInt32 | null } |
feePayer.body.fee | UInt64 |
feePayer.body.nonce | UInt32 |
feePayer.body.publicKey | PublicKey |
feePayer.body.validUntil | UInt32 | null |
memo | string |
Defined in
bindings/mina-transaction/gen/transaction-json.ts:29