OKTC, a robust blockchain network, enables users to earn passive income by staking their OKT tokens and participating in network consensus through validator voting. This guide delves into the core principles, calculation methods, and distribution mechanisms of these staking rewards, providing a clear understanding of how the ecosystem functions.
How Staking Rewards Work on OKTC
The OKTC network relies on a decentralized set of validators to produce new blocks and maintain security. Anyone can become a validator candidate by staking a minimum of 10,000 OKT and operating a full node. Every epoch, which consists of 252 blocks, the network calculates the voting weight of each validator. The top 21 nodes with the highest weight become the active block producers for the next epoch, participating in the Tendermint consensus mechanism to create new blocks. All validators contributing to network maintenance receive block rewards.
The amount of reward a validator earns is directly proportional to the number of vote shares it receives from delegators. To attract more votes, validators can set a commission rate, which is a percentage of the block reward they keep before distributing the remainder to their voters. This rate can range from 0 to 1. For instance, a commission rate of 0.6 means the validator keeps 60% of its reward, distributing the remaining 40% to its delegators based on their individual share of the total votes.
New validators start with a default commission rate of 1, meaning they keep 100% of the rewards initially. They must manually initiate a transaction to adjust this rate to a more competitive level to attract delegators.
A Practical Example of Staking Rewards
Imagine a user stakes 1000 OKT and distributes their voting power across 15 different validator nodes. For this example, we'll assume each validator has set a commission rate of 0.6 (60%).
- The user would receive a portion of the staking rewards from each of the 15 validators they voted for.
- For instance, one validator might provide an estimated annual reward of 13.098 OKT, representing an Annual Percentage Rate (APR) of approximately 1.31%.
- Another might yield 13.100 OKT, also at a 1.31% APR.
By diversifying across multiple validators, the user's total potential annual reward becomes the sum of all individual validator rewards. In this scenario, the combined estimated annual reward could be around 196.49 OKT, yielding a total APR of nearly 19.64%. This illustrates the power of delegation and selecting validators with favorable terms.
👉 Explore advanced staking strategies
The Rules and Mechanics of Earning Rewards
Understanding the Key Roles
The OKTC staking ecosystem is built on several key participants:
| Role | Definition | Election Condition | Quantity |
|---|---|---|---|
| Candidate | A user who has registered a validator node on the chain. | No specific condition. | Unlimited |
| Validator | A node that generates blocks and participates in on-chain governance. | Top 21 nodes by delegated OKT weight. | 21 |
| User | Any individual holding OKT tokens. | Hold OKT. | Unlimited |
| Delegator | A user who votes for a validator to earn a share of its rewards. | Vote for a node that becomes a validator. | Unlimited |
| Proposer | The validator responsible for packing transactions and notifying others for verification. | Chosen sequentially based on the weight of pledged and voted OKT. | 1 per block |
Where Do the Rewards Come From?
Staking rewards are funded by two primary sources: block rewards and transaction fees.
The OKT token has a fixed maximum supply of 21 million, similar to Bitcoin, and employs a halving mechanism to control inflation. The block reward is periodically reduced.
- The initial block reward was 0.5 OKT.
- It was reduced to 0.125 OKT on March 18, 2023.
- This reward is halved approximately every nine months.
This deflationary schedule ensures the long-term sustainability of the tokenomics.
The distribution of these rewards is governed by specific rules. A community distribution rate (X%) and each validator's commission rate (Y%) are key factors.
- Block rewards = block producer reward + total transaction fees in the block.
In one epoch cycle:
- A portion of the reward is averaged and distributed equally among the 21 producer nodes.
- The majority is distributed to all validator and candidate nodes based on their share of votes.
- Any surplus is allocated to a community fund pool.
- Finally, the validator distributes a share of its earnings to its delegators based on the formula:
(1 - Y%) * validator_earnings.
Calculating Your Voting Power
Your influence as a delegator is determined by your voting weight. This is a straightforward calculation:
Voting Weight = Number of OKT Staked * Fixed Weight Multiplier
The fixed weight multiplier is currently 11,700,000. This means:
| OKT Staked | Calculated Weight |
|---|---|
| 1 | 11,700,000 |
| 10 | 117,000,000 |
| 100 | 1,170,000,000 |
This fixed-weight system replaced a previous voting decay mechanism, simplifying the process for users.
Flexibility in Voting
OKTC offers significant flexibility to stakers:
- Minimum Stake: You can stake a minimum of 0.0001 OKT per delegation.
- Multiple Voting: A powerful feature is multi-voting. You are not limited to a single validator; you can vote for up to 30 different validator nodes simultaneously. This allows you to diversify your stake and mitigate risk.
- Auto-Voting: When you stake additional OKT, your vote is automatically applied to the validators you previously selected, streamlining the process.
How Rewards Are Precisely Calculated
To accurately track earnings despite fluctuating vote shares, OKTC uses a "period"-based calculation system.
- A period is a sequence of blocks where a validator's total vote shares remain unchanged. A new period begins whenever votes are added or removed.
- The reward ratio for a period is calculated as:
Total Rewards / Total Shares. - The cumulative reward ratio is the sum of all reward ratios from previous periods.
A user's reward is calculated based on the change in the cumulative reward ratio between the time they staked and the time they claim rewards, multiplied by their number of shares.
User Earnings = (Cumulative_Ratio_End - Cumulative_Ratio_Start) * User_Shares
This method ensures fair and precise distribution, even when users stake and unstake at different times.
Claiming Your Hard-Earned Rewards
Once you have accumulated rewards, you can withdraw them to your wallet in two ways:
- Active Withdrawal: You manually initiate an on-chain transaction to claim rewards from a specific validator node.
- Passive Withdrawal: This occurs automatically when you perform an action that changes your vote share, such as staking more OKT or voting for a new validator. The system triggers a withdrawal of your accrued rewards before processing the new action.
It's important to note a precision truncation rule. Reward amounts are claimed down to 4 decimal places (0.0001 OKT). Any amount from the 5th decimal place onward is forfeited and distributed to the community pool. This rule is governance-adjustable.
Unstaking OKT and the Locking Period
If you wish to retrieve your staked OKT, you must initiate an unstaking application. This process involves a 14-day locking period. During these 14 days:
- Your locked OKT will not generate any staking rewards.
- You cannot perform any other actions with the locked tokens.
- If you submit multiple unstaking requests during the lock period, they are merged, and the 14-day countdown resets from the time of the most recent request.
The minimum amount for each unstaking operation is 0.0001 OKT.
👉 Get detailed guides on claiming rewards
Frequently Asked Questions (FAQ)
Q1: What is the minimum amount of OKT needed to start staking?
You can begin staking and voting with a very small amount. The minimum delegation per validator is only 0.0001 OKT, making it accessible for most token holders.
Q2: Can I vote for more than one validator?
Absolutely. OKTC supports multi-voting, allowing you to distribute your stake across up to 30 different validators. This is a recommended strategy to diversify your reward sources and reduce risk.
Q3: How often are staking rewards distributed?
Rewards are generated every epoch (252 blocks) and are accrued continuously. You can claim them at any time through an active withdrawal or trigger a passive withdrawal by performing another staking action.
Q4: What happens if a validator I voted for drops out of the top 21?
If a validator falls out of the active set, it becomes a candidate node. You will still earn rewards from it, but the reward amount may be lower as candidate nodes typically receive a smaller portion of the total reward distribution compared to active validators.
Q5: Why is there a 14-day lock period when I unstake?
The locking period is a security mechanism that helps stabilize the network. It prevents rapid, large-scale withdrawals that could potentially impact network consensus and security.
Q6: Is there a fee for claiming my staking rewards?
Yes, claiming rewards requires an on-chain transaction, which means you will need to pay a small gas fee in OKT to process it, whether you initiate an active withdrawal or trigger a passive one.