Expand description
Ethereum protocol-related constants
Constantsยง
- DEV_
GENESIS_ HASH - Testnet genesis hash.
- EIP1559_
TX_ TYPE_ ID - Identifier for an EIP1559 transaction.
- EIP2930_
TX_ TYPE_ ID - Identifier for an EIP2930 transaction.
- EIP4844_
TX_ TYPE_ ID - Identifier for an EIP4844 transaction.
- EIP7702_
TX_ TYPE_ ID - Identifier for an EIP7702 transaction.
- EMPTY_
OMMER_ ROOT_ HASH - Ommer root of empty list.
- EMPTY_
RECEIPTS - Transactions root of empty receipts set.
- EMPTY_
ROOT_ HASH - Root hash of an empty trie.
- EMPTY_
TRANSACTIONS - Transactions root of empty transactions set.
- EMPTY_
WITHDRAWALS - Withdrawals root of empty withdrawals set.
- ETH_
TO_ WEI - Multiplier for converting ether to wei.
- FINNEY_
TO_ WEI - Multiplier for converting finney (milliether) to wei.
- GOERLI_
BASE_ GENESIS - Base goerli genesis hash.
- GOERLI_
GENESIS_ HASH - Goerli genesis hash.
- GOERLI_
OP_ GENESIS - Optimism goerli genesis hash.
- GWEI_
TO_ WEI - Multiplier for converting gwei to wei.
- HOLESKY_
GENESIS_ HASH - Holesky genesis hash.
- KECCAK_
EMPTY - Keccak256 over empty array.
- LEGACY_
TX_ TYPE_ ID - Identifier for legacy transaction, however a legacy tx is technically not typed.
- MAINNET_
GENESIS_ HASH - The Ethereum mainnet genesis hash.
- MAXIMUM_
EXTRA_ DATA_ SIZE - Maximum extra data size in a block after genesis
- MGAS_
TO_ GAS - Multiplier for converting mgas to gas.
- SELECTOR_
LEN - The first four bytes of the call data for a function call specifies the function to be called.
- SEPOLIA_
GENESIS_ HASH - Sepolia genesis hash.