Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (bp #12768) (#12790)
* Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli (cherry picked from commitc5c8da1ac0) # Conflicts: # Cargo.lock # transaction-status/Cargo.toml * fix: surface full block rewards type (cherry picked from commit1b16790325) * resolve conflicts Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
		| @@ -342,6 +342,7 @@ The result field will be an object with the following fields: | ||||
|     - `pubkey: <string>` - The public key, as base-58 encoded string, of the account that received the reward | ||||
|     - `lamports: <i64>`- number of reward lamports credited or debited by the account, as a i64 | ||||
|     - `postBalance: <u64>` - account balance in lamports after the reward was applied | ||||
|     - `rewardType: <string|undefined>` - type of reward: "fee", "rent", "voting", "staking" | ||||
|   - `blockTime: <i64 | null>` - estimated production time, as Unix timestamp (seconds since the Unix epoch). null if not available | ||||
|  | ||||
| #### Example: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user