Overview

The Distribution precompile provides access to the Cosmos SDK x/distribution module. Smart contracts can claim rewards, query reward balances, and interact with the community pool.
On mainnet, x/distribution currently receives no automatic rewards. Inflation is 0, x/feeburn burns all transaction fees every block before x/distribution can allocate them, and community tax and proposer rewards are 0. Unless tokens are deposited with depositValidatorRewardsPool, the reward and commission queries return empty amounts, withdrawDelegatorRewards, claimRewards and withdrawValidatorCommission pay nothing, and delegators earn nothing. Validators are paid through the x/valrewards subsidy instead; see Validator Rewards.
Precompile Address: 0x0000000000000000000000000000000000000801

Gas Costs

Transaction Methods

Query Methods

Example

The delegator address must be the direct caller of the precompile. A contract withdraws its own rewards by passing address(this); an EOA calls the precompile directly with its own address. Any other address reverts with msg.sender address ... does not match the requester address .... For exact signatures, return values, and events, see Precompile ABI Reference.