We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2bae8 commit 552247bCopy full SHA for 552247b
docs/bnb-smart-chain/staking/developer-guide.md
@@ -241,7 +241,8 @@ to `0` to get all the locked BNBs.
241
242
The contracts do not save the initial delegation amount of a delegator. To get the accumulated
243
reward, the following steps can be taken: 1) track the initial delegation amount in your system, 2) call
244
-the `getPooledBNB` of the credit contract of a validator, 3) do the math.
+the `getPooledBNB` of the credit contract of a validator, 3) do the math. You can refer
245
+to [this code repository](https://github.com/bnb-chain/staking-reward-example) for example.
246
247
### How to get the total staking address of a validator?
248
0 commit comments