From 32c256bc4e70f90d0b90165c218f5d0e853d6579 Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Thu, 3 Jun 2021 13:01:25 +0300 Subject: [PATCH] update readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 6b96a3e..2d049c0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ A library that has a collection of onchain and offchain gas price oracle URLs +## Supported networks + +### Ethereum Mainnet + Current offchain list: - https://ethgasstation.info/json/ethgasAPI.json @@ -14,6 +18,12 @@ Current onchain list: - [chainlink](https://etherscan.io/address/0x169e633a2d1e6c10dd91238ba11c4a708dfef37c#readContract) +### Binance Smart Chain + +Current offchain list: + +- https://bscgas.info/ + ## Installation `npm i gas-price-oracle` @@ -30,6 +40,7 @@ const { GasPriceOracle } = require('gas-price-oracle'); ```js const options = { + chainId: 1, defaultRpc: 'https://api.mycryptoapi.com/eth', timeout: 10000, };