API Reference
Base URL
Authentication
All endpoints that require authentication expect a Solana wallet signature. The signature should be included in the request body along with the message that was signed.
Endpoints
Votes
Get Vote Logs
Returns the most recent vote logs and system logs.
Response
Get Last Vote
Returns the last vote for a specific wallet.
Parameters
walletAddress
: Solana wallet address
Response
Get Vote Rankings
Returns the current vote rankings.
Response
Submit Vote
Submit a new vote.
Request Body
Response
Stakes
Get Stake Status
Returns the current stake status for a wallet.
Parameters
walletAddress
: Solana wallet address
Response
Get Total Staked
Returns the total amount staked across all wallets.
Response
Process Unstake
Process an unstake request.
Request Body
Response
Tokens
Validate Token
Validates a token address and returns token information.
Parameters
address
: Token contract address
Response
Transactions
Prepare Transaction
Prepares a stake transaction.
Request Body
Response
Verify Transaction
Verifies a completed transaction.
Request Body
Response
Portfolio
Get Portfolio
Returns the current portfolio data.
Response
Error Handling
All endpoints follow the same error response format:
Common HTTP status codes:
200
: Success400
: Bad Request401
: Unauthorized403
: Forbidden404
: Not Found429
: Too Many Requests500
: Internal Server Error
Rate Limiting
Vote endpoints have a 60-minute cooldown between votes per wallet
Unstake operations are rate limited to 5 requests per minute per wallet
Other endpoints have standard rate limiting of 100 requests per minute per IP
Last updated