Creates a new RPC provider instance
The RPC endpoint URL
The chain configuration
Estimate fees per gas for EIP-1559 transactions
Estimated max fee and max priority fee per gas
Get balance of an address
The address to check balance for
The balance in wei
Get block information
Block parameters (blockTag or blockNumber)
The block data
Get the underlying Viem public client
The Viem PublicClient instance
Get fee history for calculating gas price estimates
Number of blocks to analyze
Percentiles to calculate (e.g., [25, 50, 75])
Fee history data
Get current gas price
The gas price in wei
Get transaction information
The transaction hash
The transaction data
RPC Provider for interacting with EVM chains