Module rpc

Source
Expand description

The rpc module defines types and traits for querying chain history via an RPC interface.

Modules§

utils
JSON-RPC -related utilities. Occasionally useful but unimportant for most use cases.

Structs§

BatchIdAndOffset
A struct containing enough information to uniquely specify single transaction.
BatchResponse
The response to a JSON-RPC request for a particular batch.
SlotIdAndOffset
A struct containing enough information to uniquely specify single batch.
SlotResponse
The body of a response to a JSON-RPC request for a particular slot.
TxIdAndKey
A struct containing enough information to uniquely specify single event.
TxIdAndOffset
A struct containing enough information to uniquely specify single event.
TxResponse
The response to a JSON-RPC request for a particular transaction.

Enums§

BatchIdentifier
An identifier that specifies a single batch
EventGroupIdentifier
An identifier for a group of related events
EventIdentifier
An identifier that specifies a single event.
ItemOrHash
An RPC response which might contain a full item or just its hash.
QueryMode
A QueryMode specifies how much information to return in response to an RPC query
SlotIdentifier
An identifier that specifies a single slot.
TxIdentifier
An identifier that specifies a single transaction.