Crate hybrid_api

Source
Expand description

A library for querying Hybrid indexes.

The Hybrid Indexer library can be used to write indexers for Substrate blockchains. Rust programs that need to query Hybrid indexes can use this helper library.

For an example of how to use this library, consult the hybrid-cli source code.

Structs§

Bytes32
Datatype to hold 32-byte keys
Event
Identifies an event by block number and event index
EventMeta
Index and name of an event type
Index
Indexer state and methods
PalletMeta
Index, name and list of event types for a pallet
Span
Start and end block number for a span of blocks

Enums§

IndexError
Errors this crate can return
Key
Top-level key types that can be queried for
RequestMessage
JSON request messages
ResponseMessage
JSON response messages
SubstrateKey
All the key types that are built-in to Substrate