πΈοΈRPC Client Pool
Provide multiple RPC Node URLs per chain, this will make your application much more reliable. Even if one of the Nodes goes down or for some reason is not in sync, all your RPC calls will still work.
Web3Clientπ is the base class for all the EVM Platforms. This wraps web3 to provide pool-based communication with the nodes. It handles also gas
and nonce
values.
We provide pre-configured clients for
Ethereum - EthWeb3Clientπ
Polygon - PolyWeb3Clientπ
Binance Smart Chain - BscWeb3Clientπ
Hardhat - HardhatWeb3Clientπ
Gnosis - XDaiWeb3Clientπ
Arbitrum - ArbWeb3Clientπ
The endpoint configuration can be defined in the constructor, or it will be read from the application configurationπ.
An example, how to get the balance for an address
Last updated