Comment on page
⚙
API Endpoints
Here are Sakai Vault API endpoints.
API URL: https://api.sakaivault.io/api
- Check the health status of the server.
get
https://api.sakaivault.io/api
/healthcheck
Health check
- Retrieve wallet data for a specific user based on their wallet address.
get
https://api.sakaivault.io/api
/wallet/{wallet}
Retrieve wallet details
- Retrieve the log history for a specific wallet address.
get
https://api.sakaivault.io/api
/logwallet/{wallet}
Retrieve wallet log
- Retrieve the last 100 logs for transactions.
get
https://api.sakaivault.io/api
/logtotal
Retrieve the last 100 logs for transactions
- Retrieve the deposit ranking within a specified time range.
get
https://api.sakaivault.io/api
/rankdeposit/{timerange}
Retrieve deposit ranking by time range
- 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
- 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
- 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)
- 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
Last modified 3mo ago