@exodus/ethereum-api 2.6.8 → 2.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.9",
|
|
4
4
|
"description": "Ethereum Api",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "Exodus Movement, Inc.",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"access": "restricted"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@exodus/ethereum-lib": "^2.10.
|
|
13
|
+
"@exodus/ethereum-lib": "^2.10.4",
|
|
14
14
|
"@exodus/ethereumjs-util": "^7.1.0-exodus.6",
|
|
15
15
|
"@exodus/simple-retry": "^0.0.6",
|
|
16
16
|
"fetchival": "0.3.3",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"url-join": "4.0.0",
|
|
22
22
|
"ws": "6.1.0"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "704f2a8459929ab1c12653de7df84d1406b67e0f"
|
|
25
25
|
}
|
|
@@ -144,14 +144,6 @@ export function create(defaultURL) {
|
|
|
144
144
|
})
|
|
145
145
|
},
|
|
146
146
|
|
|
147
|
-
async getBaseFee() {
|
|
148
|
-
const { baseFeePerGas } = await requestWithRetry('proxy', {
|
|
149
|
-
method: 'eth_getBlockByNumber',
|
|
150
|
-
number: 'latest',
|
|
151
|
-
})
|
|
152
|
-
return baseFeePerGas
|
|
153
|
-
},
|
|
154
|
-
|
|
155
147
|
async getLogs(params) {
|
|
156
148
|
return requestWithRetry('proxy', { method: 'eth_getLogs', ...params })
|
|
157
149
|
},
|