Creates an instance of RoninJsonRpcProvider.
Optional
url: string | ConnectionInfoThe URL to use, headers, etc
Optional
network: NetworkishEEmptyHeaders when headers are present, but empty
EEmptyUrl when URL is empty
ENoApiKey when X-API-KEY is absent
ENoHeaders when headers are absent
Readonly
_isReadonly
anyReadonly
connectiongetFeeHistory gets the history for blocks from the pending block to the past historicalBlocks. By default, this would be the past 4 blocks, if historicalBlocks is left at the default. This is an implementation of EIP 1559.
Optional
historicalBlocks: number = 4Static
defaultStatic
getStatic
getStatic
hexlifyStatic
is
A wrapper to workaround gasPrice issue in etherjs v5 after London hardfork when sending transactions for Ronin.