package
0.1.46
Repository: https://github.com/ava-labs/avalanche-rosetta.git
Documentation: pkg.go.dev

# Functions

NewMockParser creates a new mock instance.
NewParser creates a new P-chain indexer parser Note: NewParser should not contain calls to pChainClient as we cannot assume client is ready to serve requests immediately.

# Structs

GenesisBlockData contains Genesis state details.
MockParser is a mock of Parser interface.
MockParserMockRecorder is the mock recorder for MockParser.
ParsedBlock contains block details parsed from indexer containers.
ParsedGenesisBlock contains Genesis state details.

# Interfaces

Parser defines the interface for a P-chain indexer parser Note: we use indexer just because platformVM does not currently offer a way to retrieve blocks by height.