Module types

Source
Expand description

ZKsync-specific type definitions.

Structs§

BaseSystemContractsHashes
Hashes of base system contracts.
BaseTokenConversionRatio
Conversion ratio between BaseToken and ETH.
BlockDetails
Response type for zks_getBlockDetails.
BridgeAddresses
Response type for zks_getBridgeContracts.
Eip712Fee
Response type for zks_estimateFee.
Execute
FeeModelConfigV1
Static fee model parameters for the V1 fee model (no longer in active use).
FeeModelConfigV2
Static fee model parameters for the V2 fee model.
FeeParamsV1
Dynamic fee model parameters for the V1 fee model (no longer in active use).
FeeParamsV2
Dynamic fee model parameters for the V2 fee model.
InputData
L1BatchDetails
Response type for zks_getL1BatchDetails.
L1TxCommonData
L1VerifierConfig
Configuration of the L1 verifier contract.
L2ToL1Log
Type for L2 to L1 logs that are returned as a part of eth_getTransactionReceipt response.
L2ToL1LogProof
Response type for zks_getL2ToL1LogProof and zks_getL2ToL1MsgProof.
L2TxCommonData
Log
A log produced by a transaction.
Proof
Response type for zks_getProof.
ProtocolUpgradeTxCommonData
ProtocolVersion
Response type for zks_getProtocolVersion.
StorageLog
Log of a storage access.
StorageProof
Merkle proof for a storage value.
Transaction
TransactionDetails
Response type for zks_getTransactionDetails.

Enums§

BlockStatus
Current status of the batch.
ExecuteTransactionCommon
FeeParams
Response type for zks_getFeeParams.
OpProcessingType
PriorityQueueType
TransactionStatus
Current status of the transaction.