Module endpoint

Source
Expand description

Provides a small module for each endpoint with associated PATH and handler.

Modules§

health_check
The return a health check response.
list_blocks
The list-blocks get endpoint.
query_state
The query-state get endpoint.
subscribe_blocks
The subscribe-blocks get endpoint.

Structs§

BlockRange
A range in blocks, used for the list-blocks and list-contracts endpoints.
StartBlock
Type to deserialize a block number query parameter.

Enums§

Error
Any endpoint error that might occur.
SubscriptionError
An error produced by a subscription endpoint stream.