API
A public set of API's to get data from the Swipe Network.
GET 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.
{"status":true,"data":"29855685667325892439200000"}
GET 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.
{"status":true,"data":"20000000000000000000000"}
{"status":false,"message":"Invalid action"}
GET https://api.swipe.org/api?module=stats&action=rewardCycle
This endpoint allows you to retrieve the SXP rewards distribution cycle in seconds.
{"status":true,"data":"86400"}
{"status":false,"message":"Invalid action"}
GET 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.