Parameters
- arrayarray
An array of addresses to query, as base-58 encoded strings
- objectobject
The configuration object with the following fields:
- commitmentstring
The level of commitment required for the query. The options include:
- epochinteger
An epoch for which the reward occurs. If omitted, the previous epoch will be used
- minContextSlotinteger
The minimum slot that the request can be evaluated at
Returns
- resultarray
An array with the same length as the requested addresses. Each entry is a reward object or null when no reward was found for that address.
- epochinteger
The epoch during which the reward was received
- effectiveSlotinteger
The slot at which the rewards become active
- amountinteger
The reward value in lamports
- postBalanceinteger
The account balance after the transaction in lamports
- commissioninteger | null
The commission rate of the vote account at the time the reward was credited. Null for non-vote accounts
1{2"jsonrpc": "2.0",3"result": [4{5"epoch": 1040,6"effectiveSlot": 449712000,7"amount": 2164485674,8"postBalance": 329152600155,9"commission": null10}11],12"id": 113}
1{2"jsonrpc": "2.0",3"result": [4{5"epoch": 1040,6"effectiveSlot": 449712000,7"amount": 2164485674,8"postBalance": 329152600155,9"commission": null10}11],12"id": 113}