Skip to main content

Types

o1js / Modules / Types

Namespace: Types

Table of contents

References

Namespaces

Classes

Type Aliases

Variables

Functions

References

Bool

Re-exports Bool


Field

Re-exports Field


Sign

Re-exports Sign


UInt32

Re-exports UInt32


UInt64

Re-exports UInt64

Type Aliases

Account

Ƭ Account: Object

Type declaration

NameType
balanceUInt64
delegate?PublicKey
nonceUInt32
permissions{ access: AuthRequired ; editActionState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTiming: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: { auth: AuthRequired ; txnVersion: UInt32 } ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired }
permissions.accessAuthRequired
permissions.editActionStateAuthRequired
permissions.editStateAuthRequired
permissions.incrementNonceAuthRequired
permissions.receiveAuthRequired
permissions.sendAuthRequired
permissions.setDelegateAuthRequired
permissions.setPermissionsAuthRequired
permissions.setTimingAuthRequired
permissions.setTokenSymbolAuthRequired
permissions.setVerificationKey{ auth: AuthRequired ; txnVersion: UInt32 }
permissions.setVerificationKey.authAuthRequired
permissions.setVerificationKey.txnVersionUInt32
permissions.setVotingForAuthRequired
permissions.setZkappUriAuthRequired
publicKeyPublicKey
receiptChainHashField
timing{ cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; isTimed: Bool ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 }
timing.cliffAmountUInt64
timing.cliffTimeUInt32
timing.initialMinimumBalanceUInt64
timing.isTimedBool
timing.vestingIncrementUInt64
timing.vestingPeriodUInt32
tokenIdTokenId
tokenSymbolstring
votingForField
zkapp?{ actionState: Field[] ; appState: Field[] ; lastActionSlot: UInt32 ; provedState: Bool ; verificationKey?: { data: string ; hash: Field } ; zkappUri: string ; zkappVersion: UInt32 }
zkapp.actionStateField[]
zkapp.appStateField[]
zkapp.lastActionSlotUInt32
zkapp.provedStateBool
zkapp.verificationKey?{ data: string ; hash: Field }
zkapp.verificationKey.datastring
zkapp.verificationKey.hashField
zkapp.zkappUristring
zkapp.zkappVersionUInt32

Defined in

bindings/mina-transaction/gen/transaction.ts:530

bindings/mina-transaction/gen/transaction.ts:579


AccountUpdate

Ƭ AccountUpdate: Object

Type declaration

NameType
authorization{ proof?: string ; signature?: string }
authorization.proof?string
authorization.signature?string
body{ actions: { data: Field[][] ; hash: Field } ; authorizationKind: { isProved: Bool ; isSigned: Bool ; verificationKeyHash: Field } ; balanceChange: { magnitude: UInt64 ; sgn: Sign } ; callData: Field ; callDepth: number ; events: { data: Field[][] ; hash: Field } ; implicitAccountCreationFee: Bool ; incrementNonce: Bool ; mayUseToken: { inheritFromParent: Bool ; parentsOwnToken: Bool } ; preconditions: { account: { actionState: { isSome: Bool ; value: Field } ; balance: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } ; delegate: { isSome: Bool ; value: PublicKey } ; isNew: { isSome: Bool ; value: Bool } ; nonce: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; provedState: { isSome: Bool ; value: Bool } ; receiptChainHash: { isSome: Bool ; value: Field } ; state: { isSome: Bool ; value: Field }[] } ; network: { blockchainLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; globalSlotSinceGenesis: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; minWindowDensity: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; nextEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; snarkedLedgerHash: { isSome: Bool ; value: Field } ; stakingEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; validWhile: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } } ; publicKey: PublicKey ; tokenId: TokenId ; update: { appState: { isSome: Bool ; value: Field }[] ; delegate: { isSome: Bool ; value: PublicKey } ; permissions: { isSome: Bool ; value: { access: AuthRequired ; editActionState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTiming: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: { auth: AuthRequired ; txnVersion: UInt32 } ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } } ; timing: { isSome: Bool ; value: { cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } } ; tokenSymbol: { isSome: Bool ; value: { field: Field ; symbol: string } } ; verificationKey: { isSome: Bool ; value: { data: string ; hash: Field } } ; votingFor: { isSome: Bool ; value: Field } ; zkappUri: { isSome: Bool ; value: { data: string ; hash: Field } } } ; useFullCommitment: Bool }
body.actions{ data: Field[][] ; hash: Field }
body.actions.dataField[][]
body.actions.hashField
body.authorizationKind{ isProved: Bool ; isSigned: Bool ; verificationKeyHash: Field }
body.authorizationKind.isProvedBool
body.authorizationKind.isSignedBool
body.authorizationKind.verificationKeyHashField
body.balanceChange{ magnitude: UInt64 ; sgn: Sign }
body.balanceChange.magnitudeUInt64
body.balanceChange.sgnSign
body.callDataField
body.callDepthnumber
body.events{ data: Field[][] ; hash: Field }
body.events.dataField[][]
body.events.hashField
body.implicitAccountCreationFeeBool
body.incrementNonceBool
body.mayUseToken{ inheritFromParent: Bool ; parentsOwnToken: Bool }
body.mayUseToken.inheritFromParentBool
body.mayUseToken.parentsOwnTokenBool
body.preconditions{ account: { actionState: { isSome: Bool ; value: Field } ; balance: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } ; delegate: { isSome: Bool ; value: PublicKey } ; isNew: { isSome: Bool ; value: Bool } ; nonce: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; provedState: { isSome: Bool ; value: Bool } ; receiptChainHash: { isSome: Bool ; value: Field } ; state: { isSome: Bool ; value: Field }[] } ; network: { blockchainLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; globalSlotSinceGenesis: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; minWindowDensity: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; nextEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; snarkedLedgerHash: { isSome: Bool ; value: Field } ; stakingEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; validWhile: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } }
body.preconditions.account{ actionState: { isSome: Bool ; value: Field } ; balance: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } ; delegate: { isSome: Bool ; value: PublicKey } ; isNew: { isSome: Bool ; value: Bool } ; nonce: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; provedState: { isSome: Bool ; value: Bool } ; receiptChainHash: { isSome: Bool ; value: Field } ; state: { isSome: Bool ; value: Field }[] }
body.preconditions.account.actionState{ isSome: Bool ; value: Field }
body.preconditions.account.actionState.isSomeBool
body.preconditions.account.actionState.valueField
body.preconditions.account.balance{ isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } }
body.preconditions.account.balance.isSomeBool
body.preconditions.account.balance.value{ lower: UInt64 ; upper: UInt64 }
body.preconditions.account.balance.value.lowerUInt64
body.preconditions.account.balance.value.upperUInt64
body.preconditions.account.delegate{ isSome: Bool ; value: PublicKey }
body.preconditions.account.delegate.isSomeBool
body.preconditions.account.delegate.valuePublicKey
body.preconditions.account.isNew{ isSome: Bool ; value: Bool }
body.preconditions.account.isNew.isSomeBool
body.preconditions.account.isNew.valueBool
body.preconditions.account.nonce{ isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } }
body.preconditions.account.nonce.isSomeBool
body.preconditions.account.nonce.value{ lower: UInt32 ; upper: UInt32 }
body.preconditions.account.nonce.value.lowerUInt32
body.preconditions.account.nonce.value.upperUInt32
body.preconditions.account.provedState{ isSome: Bool ; value: Bool }
body.preconditions.account.provedState.isSomeBool
body.preconditions.account.provedState.valueBool
body.preconditions.account.receiptChainHash{ isSome: Bool ; value: Field }
body.preconditions.account.receiptChainHash.isSomeBool
body.preconditions.account.receiptChainHash.valueField
body.preconditions.account.state{ isSome: Bool ; value: Field }[]
body.preconditions.network{ blockchainLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; globalSlotSinceGenesis: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; minWindowDensity: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; nextEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; snarkedLedgerHash: { isSome: Bool ; value: Field } ; stakingEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } }
body.preconditions.network.blockchainLength{ isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } }
body.preconditions.network.blockchainLength.isSomeBool
body.preconditions.network.blockchainLength.value{ lower: UInt32 ; upper: UInt32 }
body.preconditions.network.blockchainLength.value.lowerUInt32
body.preconditions.network.blockchainLength.value.upperUInt32
body.preconditions.network.globalSlotSinceGenesis{ isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } }
body.preconditions.network.globalSlotSinceGenesis.isSomeBool
body.preconditions.network.globalSlotSinceGenesis.value{ lower: UInt32 ; upper: UInt32 }
body.preconditions.network.globalSlotSinceGenesis.value.lowerUInt32
body.preconditions.network.globalSlotSinceGenesis.value.upperUInt32
body.preconditions.network.minWindowDensity{ isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } }
body.preconditions.network.minWindowDensity.isSomeBool
body.preconditions.network.minWindowDensity.value{ lower: UInt32 ; upper: UInt32 }
body.preconditions.network.minWindowDensity.value.lowerUInt32
body.preconditions.network.minWindowDensity.value.upperUInt32
body.preconditions.network.nextEpochData{ epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } }
body.preconditions.network.nextEpochData.epochLength{ isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } }
body.preconditions.network.nextEpochData.epochLength.isSomeBool
body.preconditions.network.nextEpochData.epochLength.value{ lower: UInt32 ; upper: UInt32 }
body.preconditions.network.nextEpochData.epochLength.value.lowerUInt32
body.preconditions.network.nextEpochData.epochLength.value.upperUInt32
body.preconditions.network.nextEpochData.ledger{ hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } }
body.preconditions.network.nextEpochData.ledger.hash{ isSome: Bool ; value: Field }
body.preconditions.network.nextEpochData.ledger.hash.isSomeBool
body.preconditions.network.nextEpochData.ledger.hash.valueField
body.preconditions.network.nextEpochData.ledger.totalCurrency{ isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } }
body.preconditions.network.nextEpochData.ledger.totalCurrency.isSomeBool
body.preconditions.network.nextEpochData.ledger.totalCurrency.value{ lower: UInt64 ; upper: UInt64 }
body.preconditions.network.nextEpochData.ledger.totalCurrency.value.lowerUInt64
body.preconditions.network.nextEpochData.ledger.totalCurrency.value.upperUInt64
body.preconditions.network.nextEpochData.lockCheckpoint{ isSome: Bool ; value: Field }
body.preconditions.network.nextEpochData.lockCheckpoint.isSomeBool
body.preconditions.network.nextEpochData.lockCheckpoint.valueField
body.preconditions.network.nextEpochData.seed{ isSome: Bool ; value: Field }
body.preconditions.network.nextEpochData.seed.isSomeBool
body.preconditions.network.nextEpochData.seed.valueField
body.preconditions.network.nextEpochData.startCheckpoint{ isSome: Bool ; value: Field }
body.preconditions.network.nextEpochData.startCheckpoint.isSomeBool
body.preconditions.network.nextEpochData.startCheckpoint.valueField
body.preconditions.network.snarkedLedgerHash{ isSome: Bool ; value: Field }
body.preconditions.network.snarkedLedgerHash.isSomeBool
body.preconditions.network.snarkedLedgerHash.valueField
body.preconditions.network.stakingEpochData{ epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } }
body.preconditions.network.stakingEpochData.epochLength{ isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } }
body.preconditions.network.stakingEpochData.epochLength.isSomeBool
body.preconditions.network.stakingEpochData.epochLength.value{ lower: UInt32 ; upper: UInt32 }
body.preconditions.network.stakingEpochData.epochLength.value.lowerUInt32
body.preconditions.network.stakingEpochData.epochLength.value.upperUInt32
body.preconditions.network.stakingEpochData.ledger{ hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } }
body.preconditions.network.stakingEpochData.ledger.hash{ isSome: Bool ; value: Field }
body.preconditions.network.stakingEpochData.ledger.hash.isSomeBool
body.preconditions.network.stakingEpochData.ledger.hash.valueField
body.preconditions.network.stakingEpochData.ledger.totalCurrency{ isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } }
body.preconditions.network.stakingEpochData.ledger.totalCurrency.isSomeBool
body.preconditions.network.stakingEpochData.ledger.totalCurrency.value{ lower: UInt64 ; upper: UInt64 }
body.preconditions.network.stakingEpochData.ledger.totalCurrency.value.lowerUInt64
body.preconditions.network.stakingEpochData.ledger.totalCurrency.value.upperUInt64
body.preconditions.network.stakingEpochData.lockCheckpoint{ isSome: Bool ; value: Field }
body.preconditions.network.stakingEpochData.lockCheckpoint.isSomeBool
body.preconditions.network.stakingEpochData.lockCheckpoint.valueField
body.preconditions.network.stakingEpochData.seed{ isSome: Bool ; value: Field }
body.preconditions.network.stakingEpochData.seed.isSomeBool
body.preconditions.network.stakingEpochData.seed.valueField
body.preconditions.network.stakingEpochData.startCheckpoint{ isSome: Bool ; value: Field }
body.preconditions.network.stakingEpochData.startCheckpoint.isSomeBool
body.preconditions.network.stakingEpochData.startCheckpoint.valueField
body.preconditions.network.totalCurrency{ isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } }
body.preconditions.network.totalCurrency.isSomeBool
body.preconditions.network.totalCurrency.value{ lower: UInt64 ; upper: UInt64 }
body.preconditions.network.totalCurrency.value.lowerUInt64
body.preconditions.network.totalCurrency.value.upperUInt64
body.preconditions.validWhile{ isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } }
body.preconditions.validWhile.isSomeBool
body.preconditions.validWhile.value{ lower: UInt32 ; upper: UInt32 }
body.preconditions.validWhile.value.lowerUInt32
body.preconditions.validWhile.value.upperUInt32
body.publicKeyPublicKey
body.tokenIdTokenId
body.update{ appState: { isSome: Bool ; value: Field }[] ; delegate: { isSome: Bool ; value: PublicKey } ; permissions: { isSome: Bool ; value: { access: AuthRequired ; editActionState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTiming: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: { auth: AuthRequired ; txnVersion: UInt32 } ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } } ; timing: { isSome: Bool ; value: { cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } } ; tokenSymbol: { isSome: Bool ; value: { field: Field ; symbol: string } } ; verificationKey: { isSome: Bool ; value: { data: string ; hash: Field } } ; votingFor: { isSome: Bool ; value: Field } ; zkappUri: { isSome: Bool ; value: { data: string ; hash: Field } } }
body.update.appState{ isSome: Bool ; value: Field }[]
body.update.delegate{ isSome: Bool ; value: PublicKey }
body.update.delegate.isSomeBool
body.update.delegate.valuePublicKey
body.update.permissions{ isSome: Bool ; value: { access: AuthRequired ; editActionState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTiming: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: { auth: AuthRequired ; txnVersion: UInt32 } ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } }
body.update.permissions.isSomeBool
body.update.permissions.value{ access: AuthRequired ; editActionState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTiming: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: { auth: AuthRequired ; txnVersion: UInt32 } ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired }
body.update.permissions.value.accessAuthRequired
body.update.permissions.value.editActionStateAuthRequired
body.update.permissions.value.editStateAuthRequired
body.update.permissions.value.incrementNonceAuthRequired
body.update.permissions.value.receiveAuthRequired
body.update.permissions.value.sendAuthRequired
body.update.permissions.value.setDelegateAuthRequired
body.update.permissions.value.setPermissionsAuthRequired
body.update.permissions.value.setTimingAuthRequired
body.update.permissions.value.setTokenSymbolAuthRequired
body.update.permissions.value.setVerificationKey{ auth: AuthRequired ; txnVersion: UInt32 }
body.update.permissions.value.setVerificationKey.authAuthRequired
body.update.permissions.value.setVerificationKey.txnVersionUInt32
body.update.permissions.value.setVotingForAuthRequired
body.update.permissions.value.setZkappUriAuthRequired
body.update.timing{ isSome: Bool ; value: { cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } }
body.update.timing.isSomeBool
body.update.timing.value{ cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 }
body.update.timing.value.cliffAmountUInt64
body.update.timing.value.cliffTimeUInt32
body.update.timing.value.initialMinimumBalanceUInt64
body.update.timing.value.vestingIncrementUInt64
body.update.timing.value.vestingPeriodUInt32
body.update.tokenSymbol{ isSome: Bool ; value: { field: Field ; symbol: string } }
body.update.tokenSymbol.isSomeBool
body.update.tokenSymbol.value{ field: Field ; symbol: string }
body.update.tokenSymbol.value.fieldField
body.update.tokenSymbol.value.symbolstring
body.update.verificationKey{ isSome: Bool ; value: { data: string ; hash: Field } }
body.update.verificationKey.isSomeBool
body.update.verificationKey.value{ data: string ; hash: Field }
body.update.verificationKey.value.datastring
body.update.verificationKey.value.hashField
body.update.votingFor{ isSome: Bool ; value: Field }
body.update.votingFor.isSomeBool
body.update.votingFor.valueField
body.update.zkappUri{ isSome: Bool ; value: { data: string ; hash: Field } }
body.update.zkappUri.isSomeBool
body.update.zkappUri.value{ data: string ; hash: Field }
body.update.zkappUri.value.datastring
body.update.zkappUri.value.hashField
body.useFullCommitmentBool

Defined in

bindings/mina-transaction/gen/transaction.ts:326

bindings/mina-transaction/gen/transaction.ts:526


ActionState

Ƭ ActionState: Field

Defined in

bindings/mina-transaction/transaction-leaves.ts:50

bindings/mina-transaction/transaction-leaves.ts:51


Actions

Ƭ Actions: Events

Defined in

bindings/mina-transaction/transaction-leaves.ts:47

bindings/mina-transaction/transaction-leaves.ts:48


AuthRequired

Ƭ AuthRequired: Object

Type declaration

NameType
constantBool
signatureNecessaryBool
signatureSufficientBool

Defined in

bindings/mina-transaction/transaction-leaves.ts:29

bindings/mina-transaction/transaction-leaves.ts:39


Events

Ƭ Events: Object

Type declaration

NameType
dataEvent[]
hashField

Defined in

bindings/mina-transaction/transaction-leaves.ts:43

bindings/mina-transaction/transaction-leaves.ts:48


Layout

Ƭ Layout: GenericLayout\<TypeMap>

Defined in

bindings/mina-transaction/gen/transaction.ts:57


ReceiptChainHash

Ƭ ReceiptChainHash: Field

Defined in

bindings/mina-transaction/transaction-leaves.ts:62

bindings/mina-transaction/transaction-leaves.ts:63


StateHash

Ƭ StateHash: Field

Defined in

bindings/mina-transaction/transaction-leaves.ts:35

bindings/mina-transaction/transaction-leaves.ts:39


TokenId

Ƭ TokenId: Field

Defined in

bindings/mina-transaction/transaction-leaves.ts:34

bindings/mina-transaction/transaction-leaves.ts:39


TokenSymbol

Ƭ TokenSymbol: Object

Type declaration

NameType
fieldField
symbolstring

Defined in

bindings/mina-transaction/transaction-leaves.ts:36

bindings/mina-transaction/transaction-leaves.ts:39


TransactionVersion

Ƭ TransactionVersion: Field

Defined in

bindings/mina-transaction/transaction-leaves.ts:68

bindings/mina-transaction/transaction-leaves.ts:69


TypeMap

Ƭ TypeMap: Object

Type declaration

NameType
AuthRequiredAuthRequired
BoolBool
FieldField
PublicKeyPublicKey
SignSign
TokenIdTokenId
UInt32UInt32
UInt64UInt64

Defined in

bindings/mina-transaction/gen/transaction.ts:32

bindings/mina-transaction/gen/transaction.ts:43


VerificationKeyHash

Ƭ VerificationKeyHash: Field

Defined in

bindings/mina-transaction/transaction-leaves.ts:56

bindings/mina-transaction/transaction-leaves.ts:57


ZkappCommand

Ƭ ZkappCommand: Object

Type declaration

NameType
accountUpdates{ authorization: { proof?: string ; signature?: string } ; body: { actions: { data: Field[][] ; hash: Field } ; authorizationKind: { isProved: Bool ; isSigned: Bool ; verificationKeyHash: Field } ; balanceChange: { magnitude: UInt64 ; sgn: Sign } ; callData: Field ; callDepth: number ; events: { data: Field[][] ; hash: Field } ; implicitAccountCreationFee: Bool ; incrementNonce: Bool ; mayUseToken: { inheritFromParent: Bool ; parentsOwnToken: Bool } ; preconditions: { account: { actionState: { isSome: Bool ; value: Field } ; balance: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } ; delegate: { isSome: Bool ; value: PublicKey } ; isNew: { isSome: Bool ; value: Bool } ; nonce: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; provedState: { isSome: Bool ; value: Bool } ; receiptChainHash: { isSome: Bool ; value: Field } ; state: { isSome: Bool ; value: Field }[] } ; network: { blockchainLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; globalSlotSinceGenesis: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; minWindowDensity: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; nextEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; snarkedLedgerHash: { isSome: Bool ; value: Field } ; stakingEpochData: { epochLength: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } ; ledger: { hash: { isSome: Bool ; value: Field } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; lockCheckpoint: { isSome: Bool ; value: Field } ; seed: { isSome: Bool ; value: Field } ; startCheckpoint: { isSome: Bool ; value: Field } } ; totalCurrency: { isSome: Bool ; value: { lower: UInt64 ; upper: UInt64 } } } ; validWhile: { isSome: Bool ; value: { lower: UInt32 ; upper: UInt32 } } } ; publicKey: PublicKey ; tokenId: TokenId ; update: { appState: { isSome: Bool ; value: Field }[] ; delegate: { isSome: Bool ; value: PublicKey } ; permissions: { isSome: Bool ; value: { access: AuthRequired ; editActionState: AuthRequired ; editState: AuthRequired ; incrementNonce: AuthRequired ; receive: AuthRequired ; send: AuthRequired ; setDelegate: AuthRequired ; setPermissions: AuthRequired ; setTiming: AuthRequired ; setTokenSymbol: AuthRequired ; setVerificationKey: { auth: AuthRequired ; txnVersion: UInt32 } ; setVotingFor: AuthRequired ; setZkappUri: AuthRequired } } ; timing: { isSome: Bool ; value: { cliffAmount: UInt64 ; cliffTime: UInt32 ; initialMinimumBalance: UInt64 ; vestingIncrement: UInt64 ; vestingPeriod: UInt32 } } ; tokenSymbol: { isSome: Bool ; value: { field: Field ; symbol: string } } ; verificationKey: { isSome: Bool ; value: { data: string ; hash: Field } } ; votingFor: { isSome: Bool ; value: Field } ; zkappUri: { isSome: Bool ; value: { data: string ; hash: Field } } } ; useFullCommitment: Bool } }[]
feePayer{ authorization: string ; body: { fee: UInt64 ; nonce: UInt32 ; publicKey: PublicKey ; validUntil?: UInt32 } }
feePayer.authorizationstring
feePayer.body{ fee: UInt64 ; nonce: UInt32 ; publicKey: PublicKey ; validUntil?: UInt32 }
feePayer.body.feeUInt64
feePayer.body.nonceUInt32
feePayer.body.publicKeyPublicKey
feePayer.body.validUntil?UInt32
memostring

Defined in

bindings/mina-transaction/gen/transaction.ts:110

bindings/mina-transaction/gen/transaction.ts:322


ZkappUri

Ƭ ZkappUri: Object

Type declaration

NameType
datastring
hashField

Defined in

bindings/mina-transaction/transaction-leaves.ts:37

bindings/mina-transaction/transaction-leaves.ts:39

Variables

Account

Account: Object

Type declaration

NameType
check(value: Account) => void
empty() => Account
fromFields(fields: Field[], aux: any[]) => Account
fromJSON(json: Account) => Account
sizeInFields() => number
toAuxiliary(value?: Account) => any[]
toFields(value: Account) => Field[]
toInput(value: Account) => HashInput
toJSON(value: Account) => Account

Defined in

bindings/mina-transaction/gen/transaction.ts:530

bindings/mina-transaction/gen/transaction.ts:579


AccountUpdate

AccountUpdate: Object

Type declaration

NameType
check(value: AccountUpdate) => void
empty() => AccountUpdate
fromFields(fields: Field[], aux: any[]) => AccountUpdate
fromJSON(json: AccountUpdate) => AccountUpdate
sizeInFields() => number
toAuxiliary(value?: AccountUpdate) => any[]
toFields(value: AccountUpdate) => Field[]
toInput(value: AccountUpdate) => HashInput
toJSON(value: AccountUpdate) => AccountUpdate

Defined in

bindings/mina-transaction/gen/transaction.ts:326

bindings/mina-transaction/gen/transaction.ts:526


ActionState

ActionState: Object

Type declaration

NameType
check(x: Field) => void
empty() => Field
fromFields(x: Field[]) => Field
fromJSON(x: string) => Field
toAuxiliary(x?: Field) => any[]
toFields(x: Field) => Field[]
toInput(x: Field) => { fields?: Field[] ; packed?: [Field, number][] }
toJSON(x: Field) => string
sizeInFields() => number

Defined in

bindings/mina-transaction/transaction-leaves.ts:50

bindings/mina-transaction/transaction-leaves.ts:51


Actions

Actions: Object

Type declaration

NameType
check(x: { data: Field[][] ; hash: Field }) => void
empty() => { data: Field[][] ; hash: Field }
fromFields(x: Field[], aux: any[]) => { data: Field[][] ; hash: Field }
fromJSON(x: string[][]) => { data: Field[][] ; hash: Field }
toAuxiliary(x?: { data: Field[][] ; hash: Field }) => any[]
toFields(x: { data: Field[][] ; hash: Field }) => Field[]
toInput(x: { data: Field[][] ; hash: Field }) => { fields?: Field[] ; packed?: [Field, number][] }
toJSON(x: { data: Field[][] ; hash: Field }) => string[][]
emptyActionState() => Field
fromList(events: Event[]) => Events
hash(events: Event[]) => Field
pushEvent(actions: Events, event: Event) => Events
sizeInFields() => number
updateSequenceState(state: Field, sequenceEventsHash: Field) => Field

Defined in

bindings/mina-transaction/transaction-leaves.ts:47

bindings/mina-transaction/transaction-leaves.ts:48


AuthRequired

AuthRequired: Omit\<GenericProvableExtended\<{ constant: Bool = Bool; signatureNecessary: Bool = Bool; signatureSufficient: Bool = Bool }, { constant: boolean = Bool; signatureNecessary: boolean = Bool; signatureSufficient: boolean = Bool }, Field>, "toJSON" | "fromJSON"> & { empty: () => AuthRequired\<Bool> ; fromJSON: (json: AuthRequired) => AuthRequired\<Bool> ; toJSON: (x: AuthRequired\<Bool>) => AuthRequired }

Defined in

bindings/mina-transaction/transaction-leaves.ts:29

bindings/mina-transaction/transaction-leaves.ts:39


Events

Events: Object

Type declaration

NameType
check(x: { data: Field[][] ; hash: Field }) => void
empty() => { data: Field[][] ; hash: Field }
fromFields(x: Field[], aux: any[]) => { data: Field[][] ; hash: Field }
fromJSON(x: string[][]) => { data: Field[][] ; hash: Field }
toAuxiliary(x?: { data: Field[][] ; hash: Field }) => any[]
toFields(x: { data: Field[][] ; hash: Field }) => Field[]
toInput(x: { data: Field[][] ; hash: Field }) => { fields?: Field[] ; packed?: [Field, number][] }
toJSON(x: { data: Field[][] ; hash: Field }) => string[][]
fromList(events: Event[]) => Events
hash(events: Event[]) => Field
pushEvent(events: Events, event: Event) => Events
sizeInFields() => number

Defined in

bindings/mina-transaction/transaction-leaves.ts:43

bindings/mina-transaction/transaction-leaves.ts:48


ReceiptChainHash

ReceiptChainHash: Object

Type declaration

NameType
check(x: Field) => void
empty() => Field
fromFields(x: Field[]) => Field
fromJSON(x: string) => Field
toAuxiliary(x?: Field) => any[]
toFields(x: Field) => Field[]
toInput(x: Field) => { fields?: Field[] ; packed?: [Field, number][] }
toJSON(x: Field) => string
sizeInFields() => number

Defined in

bindings/mina-transaction/transaction-leaves.ts:62

bindings/mina-transaction/transaction-leaves.ts:63


StateHash

StateHash: Omit\<GenericProvableExtended\<Field, string, Field>, "toJSON" | "fromJSON"> & { empty: () => Field ; fromJSON: (x: string) => Field ; toJSON: (x: Field) => string }

Defined in

bindings/mina-transaction/transaction-leaves.ts:35

bindings/mina-transaction/transaction-leaves.ts:39


TokenId

TokenId: Omit\<GenericProvableExtended\<Field, string, Field>, "toJSON" | "fromJSON"> & { empty: () => Field ; fromJSON: (x: string) => Field ; toJSON: (x: Field) => string }

Defined in

bindings/mina-transaction/transaction-leaves.ts:34

bindings/mina-transaction/transaction-leaves.ts:39


TokenSymbol

TokenSymbol: Omit\<GenericProvableExtended\<{ field: Field = Field; symbol: string = String }, { field: string = Field; symbol: string = String }, Field>, "toJSON" | "fromJSON"> & { fromJSON: (symbol: string) => TokenSymbol\<Field> ; toInput: (__namedParameters: TokenSymbol\<Field>) => GenericHashInput\<Field> ; toJSON: (__namedParameters: TokenSymbol\<Field>) => string }

Defined in

bindings/mina-transaction/transaction-leaves.ts:36

bindings/mina-transaction/transaction-leaves.ts:39


TransactionVersion

TransactionVersion: Object

Type declaration

NameType
check(x: UInt32) => void
empty() => UInt32
fromFields(x: Field[]) => UInt32
fromJSON(x: string) => UInt32
toAuxiliary(x?: UInt32) => any[]
toFields(x: UInt32) => Field[]
toInput(x: UInt32) => { fields?: Field[] ; packed?: [Field, number][] }
toJSON(x: UInt32) => string
sizeInFields() => number

Defined in

bindings/mina-transaction/transaction-leaves.ts:68

bindings/mina-transaction/transaction-leaves.ts:69


TypeMap

TypeMap: Object

Type declaration

NameType
AuthRequiredProvableExtended\<AuthRequired, AuthRequired>
BoolProvableExtended\<Bool, boolean>
FieldProvableExtended\<Field, string>
PublicKeyProvableExtended\<PublicKey, string>
SignProvableExtended\<Sign, Sign>
TokenIdProvableExtended\<Field, string>
UInt32ProvableExtended\<UInt32, string>
UInt64ProvableExtended\<UInt64, string>

Defined in

bindings/mina-transaction/gen/transaction.ts:32

bindings/mina-transaction/gen/transaction.ts:43


VerificationKeyHash

VerificationKeyHash: Object

Type declaration

NameType
check(x: Field) => void
empty() => Field
fromFields(x: Field[]) => Field
fromJSON(x: string) => Field
toAuxiliary(x?: Field) => any[]
toFields(x: Field) => Field[]
toInput(x: Field) => { fields?: Field[] ; packed?: [Field, number][] }
toJSON(x: Field) => string
sizeInFields() => number

Defined in

bindings/mina-transaction/transaction-leaves.ts:56

bindings/mina-transaction/transaction-leaves.ts:57


ZkappCommand

ZkappCommand: Object

Type declaration

NameType
check(value: ZkappCommand) => void
empty() => ZkappCommand
fromFields(fields: Field[], aux: any[]) => ZkappCommand
fromJSON(json: ZkappCommand) => ZkappCommand
sizeInFields() => number
toAuxiliary(value?: ZkappCommand) => any[]
toFields(value: ZkappCommand) => Field[]
toInput(value: ZkappCommand) => HashInput
toJSON(value: ZkappCommand) => ZkappCommand

Defined in

bindings/mina-transaction/gen/transaction.ts:110

bindings/mina-transaction/gen/transaction.ts:322


ZkappUri

ZkappUri: GenericProvableExtended\<{ data: string ; hash: Field }, string, Field>

Defined in

bindings/mina-transaction/transaction-leaves.ts:37

bindings/mina-transaction/transaction-leaves.ts:39


customTypes

customTypes: CustomTypes

Defined in

bindings/mina-transaction/gen/transaction.ts:94

Functions

empty

empty(typeData): any

Parameters

NameType
typeDataGenericLayout\<TypeMap>

Returns

any

Defined in

bindings/lib/from-layout.ts:174


provableFromLayout

provableFromLayout\<T, TJson>(typeData): Object

Type parameters

Name
T
TJson

Parameters

NameType
typeDataGenericLayout\<TypeMap>

Returns

Object

NameType
check(value: T) => void
empty() => T
fromFields(fields: Field[], aux: any[]) => T
fromJSON(json: TJson) => T
sizeInFields() => number
toAuxiliary(value?: T) => any[]
toFields(value: T) => Field[]
toInput(value: T) => HashInput
toJSON(value: T) => TJson

Defined in

bindings/lib/from-layout.ts:310


toJSONEssential

toJSONEssential(typeData, value): any

Parameters

NameType
typeDataGenericLayout\<TypeMap>
valueany

Returns

any

Defined in

bindings/lib/from-layout.ts:244