Set Staking Rate
Staking
Set Staking Rate
Configure the base reward rate used for all customer stakes
POST
Set Staking Rate
Sets the base reward rate for your token. Every customer stake is calculated proportionally from this base: a customer locking for half the base duration earns half the base reward, locking for double earns double, and so on. You only need to call this once unless you want to change the rate. Stakes created before a rate change keep their original reward percent.Documentation Index
Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt
Use this file to discover all available pages before exploring further.
This must be set before customers can create stakes.
/create-stake returns 400 Invalid parameters until you do.Request Body
Base lock period in seconds (e.g.
"31536000" = 1 year)Reward earned over the base period, in percent.
20 = 20%. Decimals allowed (12.5).Response
Reference identifier for the rate change