Repository navigation
feat(rewards): add spot rewards claims endpoint to SDK (BFE-977) - #297
Merged
Merged
Conversation
Add the GET /v1/spot-rewards/claims operation and its SpotRewardClaimCard / SpotRewardClaimEntry schemas to the SDK specs, mirroring the rewards-service server contract, and regenerate the TypeScript, Python, and Rust clients. rewardedAmount is a decimal string (no E9 scaling); userAddress is a required query param with cursor/pageSize pagination. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
NidaKarim
previously approved these changes
Oct 5, 2026
Mirror the rewards-service contract changes: claimTimestamp and nextCursor are strings (legacy parity; "-1" when there are no rows), and document the pageSize coercion / boundary-group behavior. Regenerate the TypeScript, Python, and Rust clients. Version unchanged (same unmerged PR). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
burhanuddin03
approved these changes
Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the
GET /v1/spot-rewards/claimsoperation to the Bluefin SDK and regenerates the TypeScript, Python, and Rust clients.This mirrors the
rewards-serviceserver contract shipped in pro-mono #1877 (BFE-977), the dashboard read endpoint for the spot-rewards migration (BFE-971).Changes
resources/rewards-data-api.yaml—getSpotRewardClaimspath +SpotRewardClaimCard/SpotRewardClaimEntryschemas.resources/bluefin-api.yaml— registered the path$refin the aggregator.1.19.0 → 1.20.0; TypeScript2.2.0 → 2.3.0(curated 2.x line).Contract notes
userAddressis a required query param;cursor+pageSize(1..1000) drive pagination.rewardedAmountis a decimal string served as stored (no E9 scaling) — FE renders it directly.claimTimestamp/nextCursorare 64-bit.Validation
bluefin_apicrate compiles clean.🤖 Generated with Claude Code