Expand description
The client connects to the source substrate chain and is used by the rpc server to query and send transactions to the substrate chain.
Structs§
- Client
- A client connect to a node and maintains a cache of the last
CACHE_SIZE
blocks.
Enums§
- Client
Error - The error type for the client.
- Subscription
Type - The subscription type used to listen to new blocks.
Functions§
- connect
- Connect to a node at the given URL, and return the underlying API, RPC client, and legacy RPC clients.
Type Aliases§
- Balance
- The runtime balance type.
- Substrate
Block - The substrate block type.
- Substrate
Block Hash - The substrate block hash type.
- Substrate
Block Header - The substrate block header.
- Substrate
Block Number - The substrate block number type.