How to retrieve the claim history for a specific boost
const boostId = '8453:0x378632819f39c74c4f56b1429e760739c5fb51b7:12'; const response = await fetch( `https://api-v2.boost.xyz/boosts/${boostId}/activity` ); const { activityEvents } = await response.json();
activityEvents
totalActivityCount
// Example response structure { "activityEvents": [ { "claimant": "0xB0057...", // Address that claimed the incentive "blockTimestamp": "1731373464", "txHash": "0x2dfc8f...", // Transaction hash of the claim "incentives": [ { "type": "ERC20Incentive", "asset": "0xf3b2d...", // Token address "limit": "10", "reward": "500000000000000000", "strategy": 0, "totalAmountClaimed": "", "totalClaims": "1" } ] } ], "totalActivityCount": 1 }
const params = new URLSearchParams({ page: '1', pageSize: '20' // Adjust based on your needs (max 100) }); const response = await fetch( `https://api-v2.boost.xyz/boosts/${boostId}/activity?${params.toString()}` ); const { activityEvents } = await response.json();