evm v0.1.14 EVM.Interface.BlockInterface protocol

Interface for interacting with block headers.

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: module

Link to this section Functions

Link to this function get_block_by_hash(t, block_hash)
get_block_by_hash(t, EVM.hash) :: Block.Header.t | nil
Link to this function get_block_by_number(t, steps)
get_block_by_number(t, non_neg_integer) :: Block.Header.t | nil
Link to this function get_block_header(t)
get_block_header(t) :: Block.Header.t