Skip to content

Commit

Permalink
chore: add boilerplate runes support, ref LEA-1981
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Jan 17, 2025
1 parent d626813 commit 40f1bce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function AllAccountBalances() {
<BitcoinBalance />
<StacksBalance />
<Sip10Balance />
{/* TODO LEA-1982: add runes balance */}
<RunesBalance />
</>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/src/queries/balance/runes-balance.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { QueryFunctionContext, useQuery } from '@tanstack/react-query';
import { BitcoinAccountIdentifier, getRunesBalancesService } from '@leather.io/services';

export function useRunesTotalBalance() {
// TODO check with Alex once we have xpub-based runes endpoint from BIS
// TODO LEA-1982: check with Alex once we have xpub-based runes endpoint from BIS
const accounts = useTotalBitcoinAccountServiceRequests();
return toFetchState(useRunesAggregateBalanceQuery(accounts.map(account => account.account)));
}
Expand Down

0 comments on commit 40f1bce

Please sign in to comment.