@exodus/ethereum-api 10.2.0 → 10.2.1

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,15 @@
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
+ ## [10.2.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@10.2.0...@exodus/ethereum-api@10.2.1) (2026-10-21)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ethereum-api:** route everstake unstake simulation through exodus proxy ([#8955](https://github.com/ExodusMovement/assets/issues/8955)) ([8a9ffed](https://github.com/ExodusMovement/assets/commit/8a9ffed8037b3344b07aa591730396bc0ea4e51a))
12
+
13
+
14
+
6
15
  ## [10.2.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@10.1.4...@exodus/ethereum-api@10.2.0) (2026-10-20)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "10.2.0",
3
+ "version": "10.2.1",
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",
@@ -65,5 +65,5 @@
65
65
  "type": "git",
66
66
  "url": "git+https://github.com/ExodusMovement/assets.git"
67
67
  },
68
- "gitHead": "36fabbe45fe45079016a2652bd7fee0df025d8c3"
68
+ "gitHead": "58cc7d254c0b21139ba3ad069fa18998d8ddf458"
69
69
  }
@@ -6,7 +6,6 @@ import { createCachedStakingRead } from '../cached-read.js'
6
6
  import { UNSTAKE_DEFAULTS } from './api.js'
7
7
 
8
8
  const BASE_URL = 'https://eth-clarity.a.exodus.io/api/v2/ethereum/proxy/everstake/'
9
- const WALLET_SDK_BASE_URL = 'https://wallet-sdk-api.everstake.one/'
10
9
 
11
10
  const fetch = async (path, config = Object.create(null)) => {
12
11
  const url = new URL(path, BASE_URL).toString()
@@ -32,6 +31,7 @@ const isFiniteInteger = (e) => Number.isInteger(e) && Number.isFinite(e)
32
31
 
33
32
  // Simulate an unstake to predict how much ETH the interchange pool returns instantly.
34
33
  // https://wallet-sdk-api.everstake.one/swagger/#/Ethereum/post_ethereum_pool_simulate_unstake
34
+ // Routed through the Exodus Everstake proxy rather than calling Everstake directly from the client.
35
35
  //
36
36
  // Inputs:
37
37
  // address: staker address (0x...)
@@ -52,7 +52,7 @@ export const simulateEverstakeUnstake = async ({
52
52
  assert(typeof address === 'string' && address.startsWith('0x'), 'expected valid address')
53
53
  assert(typeof amount === 'string' && amount.length > 0, 'expected amount in ETH as string')
54
54
 
55
- const url = new URL('ethereum/pool/simulate_unstake', WALLET_SDK_BASE_URL).toString()
55
+ const url = new URL('ethereum/pool/simulate_unstake', BASE_URL).toString()
56
56
 
57
57
  const response = await exodusFetch(url, {
58
58
  method: 'POST',