API

A public set of API's to get data from the Swipe Network.

get
Total Staked

https://api.swipe.org/api?module=stats&action=totalStaked
This endpoint allows you to retrieve the total amount of SXP staked on the Swipe Network.
Request
Response
Request
Response
200: OK
Total Staked SXP successfully retrieved.
{"status":true,"data":"29855685667325892439200000"}

get
Reward Amount

https://api.swipe.org/api?module=stats&action=rewardAmount
This endpoint allows you to retrieve the total amount of SXP earned daily on the Swipe Network.
Request
Response
Request
Response
200: OK
Total SXP daily reward successfully retrieved.
{"status":true,"data":"20000000000000000000000"}
404: Not Found
Unsuccessful attempt to retrieve the daily SXP reward amount.
{"status":false,"message":"Invalid action"}

get
Reward Cycle

https://api.swipe.org/api?module=stats&action=rewardCycle
This endpoint allows you to retrieve the SXP rewards distribution cycle in seconds.
Request
Response
Request
Response
200: OK
SXP rewards distribution cycle successfully retrieved.
{"status":true,"data":"86400"}
404: Not Found
Unsuccessful attempt to retrieve the daily SXP reward amount.
{"status":false,"message":"Invalid action"}

get
Minimum Stake

https://api.swipe.org/api?module=stats&action=minimumStakeAmount
This endpoint allows you to retrieve the minimum SXP required to stake on the Swipe Network.
Request
Response
Request
Response
200: OK
Total Staked SXP successfully retrieved.
{"status":true,"data":"1000000000000000000000"}