referrerpolicy=no-referrer-when-downgrade

Module client

Module client 

Source
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 that connects to a substrate node and provides Ethereum-compatible RPC functionality.

Enums§

ClientError
The error type for the client.
SubmitError
Submit Error reason.
SubscriptionType
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.
SubstrateBlock
The substrate block type.
SubstrateBlockHash
The substrate block hash type.
SubstrateBlockHeader
The substrate block header.
SubstrateBlockNumber
The substrate block number type.