Expand description
ZKsync-specific type definitions.
Structs§
- Base
System Contracts Hashes - Hashes of base system contracts.
- Base
Token Conversion Ratio - Conversion ratio between BaseToken and ETH.
- Block
Details - Response type for
zks_getBlockDetails
. - Bridge
Addresses - Response type for
zks_getBridgeContracts
. - Eip712
Fee - Response type for
zks_estimateFee
. - Execute
- FeeModel
Config V1 - Static fee model parameters for the V1 fee model (no longer in active use).
- FeeModel
Config V2 - Static fee model parameters for the V2 fee model.
- FeeParams
V1 - Dynamic fee model parameters for the V1 fee model (no longer in active use).
- FeeParams
V2 - Dynamic fee model parameters for the V2 fee model.
- Input
Data - L1Batch
Details - Response type for
zks_getL1BatchDetails
. - L1Tx
Common Data - L1Verifier
Config - Configuration of the L1 verifier contract.
- L2To
L1Log - Type for L2 to L1 logs that are returned as a part of
eth_getTransactionReceipt
response. - L2To
L1Log Proof - Response type for
zks_getL2ToL1LogProof
andzks_getL2ToL1MsgProof
. - L2Tx
Common Data - Log
- A log produced by a transaction.
- Proof
- Response type for
zks_getProof
. - Protocol
Upgrade TxCommon Data - Protocol
Version - Response type for
zks_getProtocolVersion
. - Storage
Log - Log of a storage access.
- Storage
Proof - Merkle proof for a storage value.
- Transaction
- Transaction
Details - Response type for
zks_getTransactionDetails
.
Enums§
- Block
Status - Current status of the batch.
- Execute
Transaction Common - FeeParams
- Response type for
zks_getFeeParams
. - OpProcessing
Type - Priority
Queue Type - Transaction
Status - Current status of the transaction.