apis/apis library
Classes
-
AuthorApi<
P extends Provider> - Substrate state API
-
ChainApi<
P extends Provider> - Substrate chain API
- ChainDataFetcher
- Fetches chain data from a provider
-
ChainHeadApi<
P extends Provider> - ChainHead API for the new Substrate JSON-RPC specification.
-
ChainHeadSession<
P extends Provider> - A session representing an active chainHead follow subscription.
-
ChainSpecApi<
P extends Provider> - ChainSpec API for the new Substrate JSON-RPC specification.
- HttpProvider
- The HTTP Provider allows sending requests using HTTP to a HTTP RPC server TCP port. It does not support subscriptions so you won't be able to listen to events such as new blocks or balance changes. It is usually preferable using the [WsProvider]
- PendingQuery
- Provider
-
RpcResponse<
R, T> -
StateApi<
P extends Provider> - Substrate state API
-
SubscriptionMessage<
R> -
SubscriptionResponse<
R> -
SystemApi<
P extends Provider, H, N> - Substrate system RPC API
-
TransactionApi<
P extends Provider> - Transaction API for the new Substrate JSON-RPC specification.
- TransactionBroadcast
- Result of a transaction broadcast operation.
- WsProvider
- The WebSocket Provider allows sending requests using WebSocket to a WebSocket RPC server TCP port. Unlike the [HttpProvider], it does support subscriptions and allows listening to events such as new blocks or balance changes.
Typedefs
- ExtrinsicListener = dynamic Function(ExtrinsicStatus)
Exceptions / Errors
- FetchError
- Error thrown when fetching fails