Skip to content

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Dec 22, 2025

Closes #47

改动

添加 Staking TanStack Query hooks:

  • useStakingOverviewQuery - 质押池列表
  • useStakingTransactionsQuery - 质押交易记录
  • useStakingTransactionQuery - 单个交易详情

30s staleTime,共享缓存,请求去重。

- Add useStakingOverviewQuery for pool list
- Add useStakingTransactionsQuery for transaction history
- Add useStakingTransactionQuery for single transaction
- 30s staleTime, shared cache, request deduplication

Closes #47
@Gaubee Gaubee force-pushed the feat/staking-queries branch from a4c3ad5 to 94c5d58 Compare December 22, 2025 07:16
@Gaubee Gaubee merged commit dd62a4c into main Dec 22, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: migrate Staking queries to TanStack Query

2 participants