Sakai Vault
Search
K
Comment on page

API Endpoints

Here are Sakai Vault API endpoints.
API URL: https://api.sakaivault.io/api

Health Check

  • Check the health status of the server.
get
https://api.sakaivault.io/api
/healthcheck
Health check

Wallet Information

  • Retrieve wallet data for a specific user based on their wallet address.
get
https://api.sakaivault.io/api
/wallet/{wallet}
Retrieve wallet details

Wallet Log

  • Retrieve the log history for a specific wallet address.
get
https://api.sakaivault.io/api
/logwallet/{wallet}
Retrieve wallet log

Log Total

  • Retrieve the last 100 logs for transactions.
get
https://api.sakaivault.io/api
/logtotal
Retrieve the last 100 logs for transactions

Ranking by Deposit

  • Retrieve the deposit ranking within a specified time range.
get
https://api.sakaivault.io/api
/rankdeposit/{timerange}
Retrieve deposit ranking by time range

Ranking by Profit

  • Retrieve the profit ranking within a specified time range.
get
https://api.sakaivault.io/api
/rankprofit/{timerange}
Retrieve top 100 profit rankings by time range

Ranking by Commission

  • Retrieve the commission ranking within a specified time range.
get
https://api.sakaivault.io/api
/rankcommission/{timerange}
Retrieve top 100 commission rankings by 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.
post
https://api.sakaivault.io/api
/updatebalance
Update the user's balance (ref is optional)

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.
post
https://api.sakaivault.io/api
/claimreward
Claim user's accumulated rewards