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
- 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
- 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