A class for providing JSON-RPC channels with blockchain node endpoints.
Creates a new Provider object.
The Ain object.
The blockchain node endpoint.
The axios request config object.
Private
The blockchain node JSON-RPC endpoint.
The axios http client object.
Fetches the blockchain node's address.
The return value of the blockchain API.
Creates a JSON-RPC payload and sends it to the network.
The JSON-RPC method.
Optional
The JSON-RPC parameters.
Sets the http client's default timeout value.
The timeout value (in milliseconds).
A class for providing JSON-RPC channels with blockchain node endpoints.