Skip to main content
POST
Create Stake
For the complete documentation index, see llms.txt. Locks tokens from the customer’s available balance into a new stake position. Rewards accrue proportionally to the lock duration (see /set-staking-rate). Each customer can have at most 50 active stakes; use /prune-inactive-stakes to clear unlocked ones.
Treat this as a transaction. If you don’t get a response, fetch /stake-count before retrying.

Request Body

string
required
Your unique identifier for this customer
number
required
Number of tokens to lock. Decimals allowed.
string
required
Lock period in seconds (e.g. "2592000" = 30 days)

Response

string
Reference identifier for the stake