diff --git a/config/wallet-config.json b/config/wallet-config.json index 33311666e8e..aae4567b5f7 100644 --- a/config/wallet-config.json +++ b/config/wallet-config.json @@ -100,6 +100,6 @@ "mainnetApiUrl": "https://api2.ordinalsbot.com", "signetApiUrl": "https://signet.ordinalsbot.com" }, - "recoverUninscribedTaprootUtxosFeatureEnabled": false, + "recoverUninscribedTaprootUtxosFeatureEnabled": true, "runesEnabled": true } diff --git a/src/app/features/collectibles/components/collectible.layout.tsx b/src/app/features/collectibles/components/collectible.layout.tsx index 4f400c1c309..460cd484f6d 100644 --- a/src/app/features/collectibles/components/collectible.layout.tsx +++ b/src/app/features/collectibles/components/collectible.layout.tsx @@ -23,7 +23,7 @@ export function CollectiblesLayout({ }: CollectiblesLayoutProps) { return ( <> - + {title} diff --git a/src/app/features/retrieve-taproot-to-native-segwit/components/retrieve-taproot-to-native-segwit.layout.tsx b/src/app/features/retrieve-taproot-to-native-segwit/components/retrieve-taproot-to-native-segwit.layout.tsx index 3e24d893ccb..d0443eabb80 100644 --- a/src/app/features/retrieve-taproot-to-native-segwit/components/retrieve-taproot-to-native-segwit.layout.tsx +++ b/src/app/features/retrieve-taproot-to-native-segwit/components/retrieve-taproot-to-native-segwit.layout.tsx @@ -51,7 +51,7 @@ export function RetrieveTaprootToNativeSegwitLayout( As we don't support tranferring from Taproot addresses yet, you can retrieve funds to your account's main Native SegWit balance here. - + This transaction may take upwards of 30 minutes to confirm. {children} diff --git a/src/app/query/bitcoin/balance/btc-taproot-balance.hooks.ts b/src/app/query/bitcoin/balance/btc-taproot-balance.hooks.ts index e2e18589ae0..3cb985c9374 100644 --- a/src/app/query/bitcoin/balance/btc-taproot-balance.hooks.ts +++ b/src/app/query/bitcoin/balance/btc-taproot-balance.hooks.ts @@ -9,6 +9,8 @@ import { useTaprootAccountUtxosQuery } from '../address/utxos-by-address.query'; import { UtxoWithDerivationPath } from '../bitcoin-client'; import { useGetInscriptionsInfiniteQuery } from '../ordinals/inscriptions.query'; +const RETRIEVE_UTXO_DUST_AMOUNT = 10000; + export function useCurrentTaprootAccountUninscribedUtxos() { const { data: utxos = [] } = useTaprootAccountUtxosQuery(); @@ -16,10 +18,12 @@ export function useCurrentTaprootAccountUninscribedUtxos() { return useMemo(() => { const inscriptions = query.data?.pages?.flatMap(page => page.inscriptions) ?? []; - return filterUtxosWithInscriptions( - inscriptions, - utxos.filter(utxo => utxo.status.confirmed) - ) as UtxoWithDerivationPath[]; + + const filteredUtxosList = utxos + .filter(utxo => utxo.status.confirmed) + .filter(utxo => utxo.value > RETRIEVE_UTXO_DUST_AMOUNT); + + return filterUtxosWithInscriptions(inscriptions, filteredUtxosList) as UtxoWithDerivationPath[]; }, [query.data?.pages, utxos]); }