Staking

Staking lets your users put their crypto to work — locking eligible assets to help secure a proof-of-stake network and earning rewards in return. zerohash runs the validator infrastructure behind the scenes, so your platform gets to offer native staking without operating a single node. You submit stakes and unstakes on behalf of your participants, zerohash handles the on-chain mechanics and reward distribution, and you apply your own platform fee on top.

For engineers and PMs, the thing to internalize up front is that staking is a lifecycle, not a transaction. A stake doesn't go live the instant you submit it, and it doesn't unwind instantly either — funds move through network queues that can take days or weeks. Your integration's job is to drive that lifecycle from your own systems and keep the user informed at every step: submit the request, track it through activation, surface rewards as they accrue, and manage the unstaking wind-down. Get the state handling right and the rest is straightforward.

How it works

  1. Confirm eligibility - the participant is KYC-approved, in a permitted jurisdiction, and has an active staking signed_agreement.
  2. Submit a stake with POST /stakes. Funds move from available to collateral, then to staked once the stake activates (currently around 3 days for ETH).
  3. Track lifecycle via webhooks stake.*, unstake.*, staking_reward.received) or by polling the status endpoints. Requests can be canceled while submitted or queued.
  4. Rewards are credited daily. Consensus rewards compound into the staked balance; MEV rewards are credited to available. All figures are net of your platform fee.
  5. Unstake with POST /stakes/unstake. Funds return to available after the network cooldown, marked by completed_at and the unstake.unstaked webhook.

Endpoints in this section

ETH is supported today, with SOL planned for Q3 2026. There are no minimum stake or unstake amounts. Staking is API-only - there is no SDK path at this time.

For the full lifecycle, state machine, balance flow rules, webhook payloads, error codes, and UX best practices, see the Staking integration guide.