⚙️API Endpoints

Here are Sakai Vault API endpoints.

API URL: https://api.sakaivault.io/api

Health Check

  • Check the health status of the server.

Wallet Information

  • Retrieve wallet data for a specific user based on their wallet address.

Wallet Log

  • Retrieve the log history for a specific wallet address.

Log Total

  • Retrieve the last 100 logs for transactions.

Ranking by Deposit

  • Retrieve the deposit ranking within a specified time range.

Ranking by Profit

  • Retrieve the profit ranking within a specified time range.

Ranking by Commission

  • Retrieve the commission ranking within a specified time range.

Check if user exists and update user's deposit amount.

  • Update user's staking balance Description: This API endpoint updates the user's staking balance based on the provided wallet and transaction hash (txhash). It checks for user existence, creates a new user if necessary, and updates the parent's rewards and referral details. If successful, the endpoint returns a JSON response with a status indicating success.

Claim Rewards

  • Update user's staking balance Description: This API endpoint updates the user's staking balance based on the provided wallet and transaction hash (txhash). It checks for user existence, creates a new user if necessary, and updates the parent's rewards and referral details. If successful, the endpoint returns a JSON response with a status indicating success.

Last updated