Blockchain explorer allows to get information about blocks and transactions in the blockchain. It allows to request transactions from a block together with the execution statuses, iterate over blocks, etc.
This crate is distinct from the explorer service crate. While this crate
provides Rust language APIs for retrieving info from the blockchain, the explorer service
translates these APIs into REST and WebSocket endpoints. Correspondingly, this crate is
primarily useful for Rust-language client apps. Another use case is testing; the testkit
BlockWithTransactions from its
create_block* methods and re-exports the entire
See the examples in the crate for examples of usage.
Types used in the explorer API.
Information about a block in the blockchain.
Information about a block in the blockchain with info on transactions eagerly loaded.
Iterator over blocks in the blockchain.
Information about a particular transaction in the blockchain.
Execution error together with its location within the block.
Iterator over transactions in a block.
Information about the transaction.
Calculates a median time from precommits.
Iterator over transactions in