@exodus/ethereum-api 8.60.0 → 8.61.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.61.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.60.0...@exodus/ethereum-api@8.61.0) (2025-12-05)
7
+
8
+
9
+ ### Features
10
+
11
+
12
+ * feat: asset family (#6984)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+
18
+ * fix: register `eth_estimateGas` as a critical section (#7057)
19
+
20
+
21
+
6
22
  ## [8.60.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.59.2...@exodus/ethereum-api@8.60.0) (2025-11-22)
7
23
 
8
24
 
@@ -11,8 +27,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
27
 
12
28
  * feat: Bundle approve and delegate functions for Matic staking (With simulation) (#6707)
13
29
 
14
- * feat: Default privacyRpcUrl (SERVO) (#6968)
15
30
 
31
+ * feat: Default privacyRpcUrl (SERVO) (#6968)
16
32
 
17
33
 
18
34
  ## [8.59.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.59.1...@exodus/ethereum-api@8.59.2) (2025-11-19)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.60.0",
3
+ "version": "8.61.0",
4
4
  "description": "Transaction monitors, fee monitors, RPC with the blockchain node, and other networking code for Ethereum and EVM-based blockchains",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -29,7 +29,7 @@
29
29
  "@exodus/bip44-constants": "^195.0.0",
30
30
  "@exodus/crypto": "^1.0.0-rc.26",
31
31
  "@exodus/currency": "^6.0.1",
32
- "@exodus/ethereum-lib": "^5.19.0",
32
+ "@exodus/ethereum-lib": "^5.20.0",
33
33
  "@exodus/ethereum-meta": "^2.9.1",
34
34
  "@exodus/ethereumholesky-meta": "^2.0.5",
35
35
  "@exodus/ethereumjs": "^1.8.0",
@@ -38,7 +38,7 @@
38
38
  "@exodus/safe-string": "^1.2.1",
39
39
  "@exodus/simple-retry": "^0.0.6",
40
40
  "@exodus/solidity-contract": "^1.3.0",
41
- "@exodus/web3-ethereum-utils": "^4.5.1",
41
+ "@exodus/web3-ethereum-utils": "^4.6.0",
42
42
  "bn.js": "^5.2.1",
43
43
  "delay": "^4.0.1",
44
44
  "eventemitter3": "^4.0.7",
@@ -67,5 +67,5 @@
67
67
  "type": "git",
68
68
  "url": "git+https://github.com/ExodusMovement/assets.git"
69
69
  },
70
- "gitHead": "93a853e1bd1595de3e72f7ba3ceb5826d018c71a"
70
+ "gitHead": "bb5b646c92ab70a07c2bae1fd9e717a9ee8d2071"
71
71
  }
@@ -1,4 +1,4 @@
1
- import { connectAssetsList } from '@exodus/assets'
1
+ import { ASSET_FAMILY, connectAssetsList } from '@exodus/assets'
2
2
  import bip44Constants from '@exodus/bip44-constants/by-ticker.js'
3
3
  import {
4
4
  createEthereumLikeAccountState,
@@ -182,6 +182,7 @@ export const createAssetFactory = ({
182
182
  const features = {
183
183
  accountState: true,
184
184
  customTokens,
185
+ family: ASSET_FAMILY.EVM,
185
186
  feeMonitor: true,
186
187
  feesApi: true,
187
188
  isMaxFeeAsset,
@@ -1,3 +1,4 @@
1
+ import { ASSET_FAMILY } from '@exodus/assets'
1
2
  import { createContract } from '@exodus/ethereum-lib'
2
3
  import assert from 'minimalistic-assert'
3
4
 
@@ -9,6 +10,7 @@ import {
9
10
  import { createStakingApi } from './staking-api.js'
10
11
 
11
12
  const defaultTokenFeatures = {
13
+ family: ASSET_FAMILY.EVM,
12
14
  isMaxFeeAsset: true,
13
15
  }
14
16
 
@@ -216,4 +216,12 @@ export default class ClarityServerV2 extends ClarityServer {
216
216
  await this.fetchRpcHttpRequest({ baseApiPath, body: request })
217
217
  )
218
218
  }
219
+
220
+ async estimateGas(...params) {
221
+ const { baseApiPath } = this
222
+ const request = this.estimateGasRequest(...params)
223
+ return this.handleJsonRPCResponse(
224
+ await this.fetchRpcHttpRequest({ baseApiPath, body: request })
225
+ )
226
+ }
219
227
  }