@exodus/ethereum-api 8.45.2 → 8.45.4

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,26 @@
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.45.4](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.45.3...@exodus/ethereum-api@8.45.4) (2025-08-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: update ETH staking rewards endpoint (#6271)
13
+
14
+
15
+
16
+ ## [8.45.3](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.45.2...@exodus/ethereum-api@8.45.3) (2025-08-12)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+
22
+ * fix: exchange compatibility (#6230)
23
+
24
+
25
+
6
26
  ## [8.45.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.45.1...@exodus/ethereum-api@8.45.2) (2025-08-11)
7
27
 
8
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.45.2",
3
+ "version": "8.45.4",
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",
@@ -63,5 +63,5 @@
63
63
  "type": "git",
64
64
  "url": "git+https://github.com/ExodusMovement/assets.git"
65
65
  },
66
- "gitHead": "44e5b51ad5bc9cc5a7ec8a0a685da6979acc6369"
66
+ "gitHead": "410dede14079eafe5f9825a5ca450a8f06739e48"
67
67
  }
@@ -8,7 +8,9 @@ const getFeeAsyncFactory = ({ assetClientInterface, createTx }) => {
8
8
 
9
9
  return async (params) => {
10
10
  const { asset } = params
11
- const { unsignedTx } = params.unsignedTx ? params : await createTx(params)
11
+ const { unsignedTx, gasPrice, tipGasPrice, gasLimit } = params.unsignedTx
12
+ ? params
13
+ : await createTx(params)
12
14
  const fee = asset.feeAsset.currency.parse(unsignedTx.txMeta.fee)
13
15
  const coinAmount = asset.currency.parse(unsignedTx.txMeta.amount)
14
16
  const extraFeeData = getExtraFeeData({ asset, amount: coinAmount })
@@ -16,6 +18,10 @@ const getFeeAsyncFactory = ({ assetClientInterface, createTx }) => {
16
18
  fee,
17
19
  extraFeeData,
18
20
  unsignedTx,
21
+ // deprecated, exchanges uses these params to recreate the tx during send. It should just use unsignedTx...
22
+ gasPrice,
23
+ tipGasPrice,
24
+ gasLimit,
19
25
  }
20
26
  }
21
27
  }
@@ -8,7 +8,7 @@ import { getServerByName } from '../../exodus-eth-server/index.js'
8
8
  const MIN_AMOUNT = '0.1'
9
9
  const RETRY_DELAYS = ['10s']
10
10
 
11
- const EVERSTAKE_API_URL = 'https://eth.a.exodus.io/everstake-rewards'
11
+ const EVERSTAKE_API_URL = 'https://eth-clarity.a.exodus.io/everstake-rewards'
12
12
 
13
13
  export class EthereumStaking {
14
14
  static addresses = {
package/src/tx-create.js CHANGED
@@ -79,7 +79,13 @@ async function createUnsignedTxWithFees({
79
79
  fee: fee.toDefaultString({ unit: true }),
80
80
  },
81
81
  }
82
- return { unsignedTx }
82
+ return {
83
+ unsignedTx,
84
+ // exhcange compatibility until the use usignedTx, remove me!
85
+ gasPrice,
86
+ tipGasPrice,
87
+ gasLimit,
88
+ }
83
89
  }
84
90
 
85
91
  const createBumpUnsignedTx = async ({