Expand description
Structs§
- Block
With Parent - A helper struct to store the block number/hash and its parent hash.
- HexString
Missing Prefix Error - Thrown when a 0x-prefixed hex string was expected
- NumHash
- A number and a hash.
- Parse
Block Hash OrNumber Error - Error thrown when parsing a HashOrNumber from a string.
- RpcBlock
Hash - 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
- Block
Number OrTag - A block Number (or tag - “latest”, “earliest”, “pending”)
- Hash
OrNumber - Either a hash or a block number
- Parse
Block IdError - Error thrown when parsing a BlockId from a string.
- Parse
Block Number Error - Error thrown when parsing a BlockNumberOrTag from a string.
Type Aliases§
- Block
Hash OrNumber - A block hash or a block number
- Block
NumHash - A block number and a hash
- Fork
Block - Block number and hash of the forked block.