get_inflation_reward
Calculate inflation or staking rewards for specific Solana addresses by providing account details and an optional epoch. Retrieve precise reward information for blockchain transactions.
Instructions
Returns the inflation/staking reward for a list of addresses for an epoch.
Args: pubkeys (list[str]): List of account addresses epoch (Optional[int]): Epoch for which to calculate rewards
Returns: str: Inflation reward information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
epoch | No | ||
pubkeys | Yes |
Input Schema (JSON Schema)
{
"properties": {
"epoch": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Epoch"
},
"pubkeys": {
"items": {
"type": "string"
},
"title": "Pubkeys",
"type": "array"
}
},
"required": [
"pubkeys"
],
"title": "get_inflation_rewardArguments",
"type": "object"
}