on master help sign in
Merge pull request #1147 from urbit/pkova/v2-api
6867b78Pyry Kovanen
package.json+1−1
@@ -1,6 +1,6 @@
1{
1{
2 "name": "bridge",
2 "name": "bridge",
3− "version": "3.2.12",
3+ "version": "3.2.14",
4 "description": "An application for interacting with Azimuth",
4 "description": "An application for interacting with Azimuth",
5 "repository": {
5 "repository": {
6 "type": "git",
6 "type": "git",
src/lib/getSuggestedGasPrice.js+3−2
@@ -54,10 +54,11 @@ const getGasForNetwork = async providerUrl => {
54 }
54 }
55 ),
55 ),
56 fetch(
56 fetch(
57− `${providerUrl}/api` +
57+ `${providerUrl}/v2/api` +
58 '?module=gastracker' +
58 '?module=gastracker' +
59 '&action=gasoracle' +
59 '&action=gasoracle' +
60− '&apikey=CG52E4R96W56GIKUI4IJ8CH9EZIXPUW1W8',
60+ '&apikey=CG52E4R96W56GIKUI4IJ8CH9EZIXPUW1W8' +
61+ '&chainid=1',
61 {
62 {
62 method: 'GET',
63 method: 'GET',
63 cache: 'no-cache',
64 cache: 'no-cache',