@exodus/ethereum-api 8.70.1 → 8.70.2

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,16 @@
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.70.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.70.1...@exodus/ethereum-api@8.70.2) (2026-03-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: use the monitor server for pending EVM tx drop checks (#7675)
13
+
14
+
15
+
6
16
  ## [8.70.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.70.0...@exodus/ethereum-api@8.70.1) (2026-03-25)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.70.1",
3
+ "version": "8.70.2",
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",
@@ -69,5 +69,5 @@
69
69
  "type": "git",
70
70
  "url": "git+https://github.com/ExodusMovement/assets.git"
71
71
  },
72
- "gitHead": "49d472ae5c602ba68329227e0e0cd3a9b4568fba"
72
+ "gitHead": "959153b1ea9f3fc33398dd5a167c2c29c8af2df1"
73
73
  }
@@ -281,7 +281,7 @@ export const createAssetFactory = ({
281
281
  createHistoryMonitor,
282
282
  createToken,
283
283
  createTx,
284
- createUnsignedTx,
284
+ createUnsignedTx, // @deprecated use createTx instead
285
285
  customFees: createCustomFeesApi({ baseAsset: asset }),
286
286
  defaultAddressPath,
287
287
  features,
@@ -143,7 +143,7 @@ export class ClarityMonitorV2 extends BaseMonitor {
143
143
  const statuses = params.refresh
144
144
  ? {}
145
145
  : await verifyRpcPendingTxStatusBatch({
146
- baseAsset: this.asset,
146
+ server: this.server,
147
147
  logger: this.logger,
148
148
  txIds,
149
149
  })
@@ -131,7 +131,7 @@ export class ClarityMonitor extends BaseMonitor {
131
131
  const statuses = params.refresh
132
132
  ? {}
133
133
  : await verifyRpcPendingTxStatusBatch({
134
- baseAsset: this.asset,
134
+ server: this.server,
135
135
  logger: this.logger,
136
136
  txIds,
137
137
  })
@@ -124,7 +124,7 @@ export class EthereumMonitor extends BaseMonitor {
124
124
  const statuses = params.refresh
125
125
  ? {}
126
126
  : await verifyRpcPendingTxStatusBatch({
127
- baseAsset: this.asset,
127
+ server: this.server,
128
128
  logger: this.logger,
129
129
  txIds,
130
130
  })
@@ -26,16 +26,14 @@ function getTxStatus(rpcTx) {
26
26
  * Uses a single batch RPC call for efficiency and graceful error handling.
27
27
  *
28
28
  * @param {Object} params
29
- * @param {Object} params.baseAsset - The base asset to get the server from
29
+ * @param {Object} params.server - RPC server used to verify pending transactions
30
30
  * @param {Object} params.logger - Logger instance for info/debug output
31
31
  * @param {string[]} params.txIds - Array of transaction IDs/hashes to verify
32
32
  * @returns {Promise<Object<string, {status: 'confirmed' | 'pending' | 'dropped', blockNumber?: number}>>}
33
33
  */
34
- export default async function verifyRpcPendingTxStatusBatch({ baseAsset, logger, txIds }) {
34
+ export default async function verifyRpcPendingTxStatusBatch({ server, logger, txIds }) {
35
35
  if (txIds.length === 0) return {}
36
36
 
37
- const server = baseAsset.server
38
-
39
37
  // Build batch request
40
38
  const requests = txIds.map((txId) => server.getTransactionByHashRequest(txId))
41
39