Module eip1898

Source
Expand description

Structs§

BlockWithParent
A helper struct to store the block number/hash and its parent hash.
HexStringMissingPrefixError
Thrown when a 0x-prefixed hex string was expected
NumHash
A number and a hash.
ParseBlockHashOrNumberError
Error thrown when parsing a HashOrNumber from a string.
RpcBlockHash
A block hash which may have a boolean requireCanonical field.

Enums§

BlockId
A Block Identifier. https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1898.md
BlockNumberOrTag
A block Number (or tag - “latest”, “earliest”, “pending”)
HashOrNumber
Either a hash or a block number
ParseBlockIdError
Error thrown when parsing a BlockId from a string.
ParseBlockNumberError
Error thrown when parsing a BlockNumberOrTag from a string.

Type Aliases§

BlockHashOrNumber
A block hash or a block number
BlockNumHash
A block number and a hash
ForkBlock
Block number and hash of the forked block.