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

Endpoint
Method
Authentication Required
Description

/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 timestamp

  • X-Timestamp: The Unix timestamp in milliseconds that was signed

Response

Success Response (200 OK):

Error Responses:

  • 401 Unauthorized: Invalid signature

  • 400 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 for

  • tokenAddress: Solana token address to check rewards for

Headers:

  • X-Signature: The base58-encoded signature of the timestamp

  • X-Timestamp: The Unix timestamp in milliseconds that was signed

Response

Success Response (200 OK):

Error Responses:

  • 404 Not Found: Token not found

  • 400 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 found

  • 400 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 timestamp

  • X-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:

  1. Deserialized

  2. Signed by the wallet owner

  3. Submitted to the Solana network

Error Responses:

  • 400 Bad Request: Invalid parameters or zero claim amount

  • 401 Unauthorized: Invalid signature

  • 409 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