useRewardKitBoost
Get details about a single RewardKit Boost
Reward Kit is still in early alpha, and may contain bugs or unexpected behavior.
The Boost V2 Docs are under active development and will be subject to changes.
A React Query hook that fetches and validates detailed information about a single RewardKit Boost, including its claims and status for a specific claimant address.
useRewardKitBoost TSDoc
See in-depth technical documentation
Basic Usage
Here’s a simple example of using the hook to display boost information:
Detailed Implementation
Here’s a more comprehensive example showing boost details and claims:
With Auto-Refresh
Example showing how to implement automatic refresh of boost data:
The hook automatically handles address normalization and validation, and includes built-in caching with a 5-minute stale time. It only fetches data when both a valid boost ID and claimant address are provided.