Crate near_lake_primitives
source ·Re-exports
pub use near_indexer_primitives;
pub use near_indexer_primitives::near_primitives;
Modules
Structs
- NEAR Account Identifier.
- A structure that represents an entire block in the NEAR blockchain. It is a high-level structure that is built on top of the low-level StreamerMessage structure.
- Replacement for
BlockHeaderView
fromnear-primitives
. Shrank and simplified. We were trying to leave only the fields indexer developers might be interested in. - Hight-level representation of the Event according to the Events Format. In addition to the event this structure holds the data about the related Receipt:
receipt_id
,receiver_id
andpredecessor_id
. All these fields are accessible via the corresponding getters. - This structure is an honest representation of the Events Format standard described here https://nomicon.io/Standards/EventsFormat
- Simplified representation of the
Receipt
. - Represents the changes to the state of the account.
- Resulting struct represents block with chunks
- High-level representation of the
Transaction
.
Enums
- High-level representation of the
Action
. - Similarly to the Action enum, this enum represents the different types of actions that can be delegated to a contract.
- Represents the Receipt kind: Action or Data.
Traits
Type Aliases
- Since both transactions::Transaction hash and receipts::Receipt id are the crate::CryptoHash type, we use this type alias to make the code more readable.