Removed Features in v2
This document lists all hooks, modules, and features that have been completely removed in v2. If you use any of these, you'll need to find alternatives or implement custom solutions.
Core Hooks Removed
View removed core hooks
useConnex
Removed:
useConnexhookReplacement: Use
useThorMigration: See API Migration Guide
useCall
Removed: Generic
useCallhookReplacement: Use
useCallClausewith proper typingMigration: See API Migration Guide
useEvents
Status: Completely refactored with new API
Note: Not removed, but has breaking API changes
Documentation: Blockchain Hooks
VeBetterDAO Module (Completely Removed)
The entire VeBetterDAO module has been removed. All hooks under api/vebetterdao/ are no longer available.
View all removed VeBetterDAO hooks
Galaxy Member Hooks
useGMbalanceuseB3trToUpgradeuseB3trToUpgradeToLeveluseGetNodeIdAttacheduseGetTokenIdAttachedToNodeuseGMMaxLeveluseParticipatedInGovernanceuseTokenIdByAccountuseNFTImageuseB3trDonateduseGMBaseUriuseSelectedTokenIduseIsGMClaimableuseSelectedGmNftuseLevelOfTokenuseNFTMetadataUri
Node Management Hooks
useGetNodeManageruseIsNodeHolderuseUserXNodes
Rewards Hooks
useLevelMultiplier
VePassport Hooks
useAccountLinkingusePassportChecksuseUserDelegationuseUserStatususeAppSecurityLeveluseGetCumulativeScoreWithDecayuseGetDelegateeuseGetDelegatoruseGetEntitiesLinkedToPassportuseGetPassportForEntityuseGetPendingDelegationsDelegateePOVuseGetPendingDelegationsDelegatorPOVuseGetPendingLinkingsuseIsEntityuseIsPassportCheckEnableduseIsPassportuseParticipationScoreThresholduseSecurityMultiplieruseThresholdParticipationScoreuseThresholdParticipationScoreAtTimepointuseIsBlacklisteduseIsWhitelisteduseUserRoundScore
X2Earn Rewards Pool Hooks
useUserVotesInAllRoundsuseUserTopVotedApps
XAllocation Pool Hooks
useAllocationAmountuseXAppVotesQf
XApps Hooks
useXNodeuseAppAdminuseAppExistsuseAppsEligibleInNextRounduseGetX2EarnAppAvailableFundsuseXAppsMetadataBaseUriuseXNodeCheckCooldown
XNodes Hooks
All XNodes-related functionality has been removed.
Other Removed Modules
View other removed modules
Blockchain Module
getEventsutility removedUse new event handling patterns instead
ERC20 Module
useGetErc20BalanceremovedUse
useCallClausewith ERC20 ABI instead
Indexer Module
All indexer hooks removed
Implement custom indexing if needed
Oracle Module
useGetTokenUsdPriceremovedIntegrate with external price feeds directly
veDelegate Module
useGetVeDelegateBalanceremovedUse contract calls directly
NFTs Module
All NFT-related hooks removed
Use generic contract interaction patterns
Removed Utility Hooks
View removed utility hooks
useDecodeFunctionSignature
Purpose: Decoded function signatures from transaction data
Alternative: Use ethers.js or web3.js utilities directly
useGetCustomTokenBalances
Purpose: Fetched balances for custom tokens
Alternative: Use
useCallClausewith token contracts
useGetCustomTokenInfo
Purpose: Retrieved token metadata
Alternative: Query token contracts directly
Removed Components
View removed components
ProfileCard
Purpose: component showing avatar, description, vet domain and address of the user
Alternative: Use the available hooks to build your own UI
TransactionToast
Purpose: Show the status of a transaction in a toast component
Alternative: Use the receipt hook to track the status of the transaction and create your own UI or use the
TransactionModalcomponent
Migration Strategies
For VeBetterDAO Features
If you depend on VeBetterDAO functionality:
Option 1: Implement custom hooks using
useCallClauseOption 2: Wait for community implementations
Option 3: Use direct contract interactions
Example custom implementation:
For Removed Utility Functions
Most removed utilities can be replaced with:
Direct contract calls using
useCallClauseThor client methods
External libraries (ethers.js, web3.js)
Last updated
Was this helpful?