Loading the API documentation
No notifications.
Language
English
No other language is available yet.
Loading the API documentation
/v1/staking/poolThe Zethar staking pool
Read from the staking pool contract (STAKING_POOL) with read-only eth_calls over the chain RPC, cached for 15 seconds. Native ZET is staked; the pool pays a fixed reward token amount per second (rewardPerSecond), shared between stakers by amount staked. Amounts are whole coins (18 decimals on chain). Per-address stake and earned rewards are read by the browser through the user's wallet, not here.
No parameters.
| Status | Meaning | Body |
|---|---|---|
| 200 | OK | StakePoolResponse |
| 503 | No pool configured on this server (code | Error |
curl -s 'https://exchange.zethareum.com/v1/staking/pool'