Uses historical base fees to determine a threshold we can use to determine whether the network is
busy. Specifically, pulls the last 20,000 blocks (which at the time of this writing represents
around 2 days), sorts the base fees of those blocks, then chooses the base fee which is 9/10 of
the way into the list (i.e. the 90th percentile).
Parameters
ethQuery: any
An EthQuery instance.
Returns Promise<BN>
A promise for the 90th percentile base fee in WEI, as a BN.
Uses historical base fees to determine a threshold we can use to determine whether the network is busy. Specifically, pulls the last 20,000 blocks (which at the time of this writing represents around 2 days), sorts the base fees of those blocks, then chooses the base fee which is 9/10 of the way into the list (i.e. the 90th percentile).