From 70f612d508af9a68f2ac6a35f208b8c1759c64bb Mon Sep 17 00:00:00 2001 From: Bubu <2005901+BubuMVX@users.noreply.github.com> Date: Sat, 24 Jan 2026 17:31:59 +0100 Subject: [PATCH 1/3] Fix token param when fetching token holders --- src/pages/TokenDetails/TokenAccounts.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/TokenDetails/TokenAccounts.tsx b/src/pages/TokenDetails/TokenAccounts.tsx index 5a6fa5350..e2b9f39f2 100644 --- a/src/pages/TokenDetails/TokenAccounts.tsx +++ b/src/pages/TokenDetails/TokenAccounts.tsx @@ -31,8 +31,8 @@ export const TokenDetailsAccounts = () => { const fetchAccounts = () => { Promise.all([ - getTokenAccounts({ tokenId: identifier, page, size }), - getTokenAccountsCount({ tokenId: identifier }) + getTokenAccounts({ token: identifier, page, size }), + getTokenAccountsCount({ token: identifier }) ]).then(([tokenAccountsData, tokenAccountsCountData]) => { if (tokenAccountsData.success && tokenAccountsCountData.success) { setAccounts(tokenAccountsData.data); From d26c393dae4475ea58a0dd4084969f3d63b2593f Mon Sep 17 00:00:00 2001 From: Radu Mojic Date: Mon, 26 Jan 2026 15:41:13 +0200 Subject: [PATCH 2/3] - fix invalid prop on Token Accounts - more explicit prop naming --- src/layouts/TokenLayout/FailedTokenDetails.tsx | 6 +++--- src/layouts/TokenLayout/TokenLayout.tsx | 2 +- src/pages/TokenDetails/TokenAccounts.tsx | 4 ++-- src/pages/TokenDetails/TokenLockedAccounts.tsx | 2 +- src/pages/TokenDetails/TokenTransactions.tsx | 12 ++++++------ 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/layouts/TokenLayout/FailedTokenDetails.tsx b/src/layouts/TokenLayout/FailedTokenDetails.tsx index 2c96ca918..fac9fcd4d 100644 --- a/src/layouts/TokenLayout/FailedTokenDetails.tsx +++ b/src/layouts/TokenLayout/FailedTokenDetails.tsx @@ -2,9 +2,9 @@ import { PageState } from 'components'; import { faCoins } from 'icons/regular'; export const FailedTokenDetails = ({ - tokenId + tokenIdentifier }: { - tokenId: string | undefined; + tokenIdentifier: string | undefined; }) => { return ( - {tokenId} + {tokenIdentifier} } isError diff --git a/src/layouts/TokenLayout/TokenLayout.tsx b/src/layouts/TokenLayout/TokenLayout.tsx index ebdacb59b..16dc428fe 100644 --- a/src/layouts/TokenLayout/TokenLayout.tsx +++ b/src/layouts/TokenLayout/TokenLayout.tsx @@ -77,7 +77,7 @@ export const TokenLayout = () => { } if (failed) { - return ; + return ; } if (loading) { diff --git a/src/pages/TokenDetails/TokenAccounts.tsx b/src/pages/TokenDetails/TokenAccounts.tsx index 5a6fa5350..e2b9f39f2 100644 --- a/src/pages/TokenDetails/TokenAccounts.tsx +++ b/src/pages/TokenDetails/TokenAccounts.tsx @@ -31,8 +31,8 @@ export const TokenDetailsAccounts = () => { const fetchAccounts = () => { Promise.all([ - getTokenAccounts({ tokenId: identifier, page, size }), - getTokenAccountsCount({ tokenId: identifier }) + getTokenAccounts({ token: identifier, page, size }), + getTokenAccountsCount({ token: identifier }) ]).then(([tokenAccountsData, tokenAccountsCountData]) => { if (tokenAccountsData.success && tokenAccountsCountData.success) { setAccounts(tokenAccountsData.data); diff --git a/src/pages/TokenDetails/TokenLockedAccounts.tsx b/src/pages/TokenDetails/TokenLockedAccounts.tsx index 92c160781..c59906276 100644 --- a/src/pages/TokenDetails/TokenLockedAccounts.tsx +++ b/src/pages/TokenDetails/TokenLockedAccounts.tsx @@ -20,7 +20,7 @@ export const TokenDetailsLockedAccounts = () => { const [isDataReady, setIsDataReady] = useState(); const fetchTokenLockedAccounts = () => { - getTokenSupply({ tokenId: identifier }).then(({ data, success }) => { + getTokenSupply({ token: identifier }).then(({ data, success }) => { if (success && data?.lockedAccounts) { setTokenLockedAccounts(data.lockedAccounts); } diff --git a/src/pages/TokenDetails/TokenTransactions.tsx b/src/pages/TokenDetails/TokenTransactions.tsx index 3c264b061..c662508fb 100644 --- a/src/pages/TokenDetails/TokenTransactions.tsx +++ b/src/pages/TokenDetails/TokenTransactions.tsx @@ -17,7 +17,7 @@ export const TokenTransactions = () => { const { getTokenTransfers, getTokenTransfersCount } = useAdapter(); const { id: activeNetworkId } = useSelector(activeNetworkSelector); - const { hash: tokenId } = useParams(); + const { hash: tokenIdentifier } = useParams(); const { fetchTransactions, @@ -26,20 +26,20 @@ export const TokenTransactions = () => { isDataReady, dataChanged } = useFetchCustomTransfers({ - uuid: tokenId, + uuid: tokenIdentifier, dataPromise: getTokenTransfers, dataCountPromise: getTokenTransfersCount, subscription: WebsocketSubcriptionsEnum.subscribeCustomTransfers, event: WebsocketEventsEnum.customTransferUpdate, filters: { - token: tokenId + token: tokenIdentifier }, - websocketConfig: { token: tokenId } + websocketConfig: { token: tokenIdentifier } }); useEffect(() => { fetchTransactions(); - }, [activeNetworkId, tokenId]); + }, [activeNetworkId, tokenIdentifier]); useEffect(() => { fetchTransactions(Boolean(searchParams.toString())); @@ -51,7 +51,7 @@ export const TokenTransactions = () => {
} dataChanged={dataChanged} From 766798a15dde0ec22157abb0cdb9795d6b0bb5a6 Mon Sep 17 00:00:00 2001 From: Radu Mojic Date: Mon, 26 Jan 2026 15:44:02 +0200 Subject: [PATCH 3/3] update changelog --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a2851c6e..4fada581b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- ## [[2.3.4](https://github.com/multiversx/mx-explorer-dapp/pull/215)] - 2026-01-26 + +- [Fix token holders fetch param](https://github.com/multiversx/mx-explorer-dapp/pull/214) + - ## [[2.3.3](https://github.com/multiversx/mx-explorer-dapp/pull/213)] - 2026-01-22 - [Websocket Transfers](https://github.com/multiversx/mx-explorer-dapp/pull/210) diff --git a/package.json b/package.json index 29165310e..1e2fe624e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mx-explorer-dapp", "description": "MultiversX Blockchain Explorer", - "version": "2.3.3", + "version": "2.3.4", "author": "MultiversX", "license": "GPL-3.0-or-later", "repository": "multiversx/mx-explorer-dapp",