Claiming Miner Rewards
Public Functions
Miners and mining pools are awarded EGL's when they produce a block with a gas limit that is within 1,000,000 of the desiredEgl
. The reward amount is based on how close the block gas limit is to the desiredEgl
value.
See Mining Pool Reward for details
The reward must claimed by calling the sweepPoolRewards()
and rewards for the block it is included in. The function can be called by anyone but the reward always goes to the block.coinbase
address so the intention is for miners to include this transaction when they produce the block
1.sweepPoolRewards()
sweepPoolRewards()
Function Signature
Validations
Events Emitted
BlockRewardCalculated
Transfer
(Conditional)PoolRewardsSwept
Web3 Example
Python Example
This example shows how to create, sign and send the raw transaction which calls sweepPoolRewards()
Last updated