Endpoints
Base URL
All API requests should be prefixed with the base URL:
Coming Soon
⚠️ Note: The final production URL will be announced soon.
Endpoints Overview
/rewards/:address
GET
Yes
Get all claimable rewards for a wallet
/rewards/:address/tokens/:tokenAddress
GET
Yes
Get claimable rewards for a specific token
/rewards/:signature/status
GET
No
Check status of a claim transaction
/rewards/:address/initiate
POST
Yes
Initiate a claim transaction
Get All Claimable Rewards
Retrieves all claimable reward amounts for a specified wallet address. Requires signature verification to prove wallet ownership.
Request
URL: /rewards/:address
Method: GET
URL Parameters:
address
: Solana wallet address to check rewards for
Headers:
X-Signature
: The base58-encoded signature of the timestampX-Timestamp
: The Unix timestamp in milliseconds that was signed
Response
Success Response (200 OK):
Error Responses:
401 Unauthorized
: Invalid signature400 Bad Request
: Invalid Solana address
Get Specific Token Claimable Rewards
Retrieves claimable reward amounts for a specific wallet address and token. Requires signature verification to prove wallet ownership.
Request
URL: /rewards/:address/tokens/:tokenAddress
Method: GET
URL Parameters:
address
: Solana wallet address to check rewards fortokenAddress
: Solana token address to check rewards for
Headers:
X-Signature
: The base58-encoded signature of the timestampX-Timestamp
: The Unix timestamp in milliseconds that was signed
Response
Success Response (200 OK):
Error Responses:
404 Not Found
: Token not found400 Bad Request
: Invalid parameters
Check Claim Transaction Status
Checks the status of a claim transaction by signature. Requires signature verification to prove wallet ownership.
Request
URL: /rewards/:signature/status
Method: GET
URL Parameters:
signature
: The transaction signature to check
Response
Success Response (200 OK):
The status
field in the response data can be one of:
COMPLETED
: The claim transaction was successful.IN_PROGRESS
: The claim transaction is still being processed.FAILED
: The claim transaction failed, you can inititate a new one.EXPIRED
: The claim transaction expired, you can initiate a new one.
Error Responses:
404 Not Found
: Claim not found400 Bad Request
: Invalid signature
Initiate Claim
Initiates a claim for rewards. Requires signature verification to prove wallet ownership.
Request
URL: /rewards/:address/initiate
Method: POST
URL Parameters:
address
: The Solana wallet address initiating the claim
Headers:
X-Signature
: The base58-encoded signature of the timestampX-Timestamp
: The Unix timestamp in milliseconds that was signed
Request Body:
Response
Success Response (200 OK):
This response contains a partially signed transaction in Base64 format. This transaction must be:
Deserialized
Signed by the wallet owner
Submitted to the Solana network
Error Responses:
400 Bad Request
: Invalid parameters or zero claim amount401 Unauthorized
: Invalid signature409 Conflict
: A claim is already in progress
Rate Limits
All endpoints are subject to rate limiting:
Limit: 100 requests per 15-minute window per IP address
Response when exceeded:
Last updated