|
28 | 28 | , "QueryLedgerStateRewardAccountSummaries", "QueryLedgerStateRewardAccountSummariesResponse" |
29 | 29 | , "QueryLedgerStateRewardsProvenance", "QueryLedgerStateRewardsProvenanceResponse" |
30 | 30 | , "QueryLedgerStateStakePools", "QueryLedgerStateStakePoolsResponse" |
| 31 | + , "QueryLedgerStateStakePoolsPerformances", "QueryLedgerStateStakePoolsPerformancesResponse" |
31 | 32 | , "QueryLedgerStateTip", "QueryLedgerStateTipResponse" |
32 | 33 | , "QueryLedgerStateTreasuryAndReserves", "QueryLedgerStateTreasuryAndReservesResponse" |
33 | 34 | , "QueryLedgerStateUtxo", "QueryLedgerStateUtxoResponse" |
|
689 | 690 | , "queryLedgerState/rewardAccountSummaries" |
690 | 691 | , "queryLedgerState/rewardsProvenance" |
691 | 692 | , "queryLedgerState/stakePools" |
| 693 | + , "queryLedgerState/stakePoolsPerformances" |
692 | 694 | , "queryLedgerState/utxo" |
693 | 695 | , "queryLedgerState/tip" |
694 | 696 | , "queryLedgerState/treasuryAndReserves" |
|
740 | 742 | , "queryLedgerState/rewardAccountSummaries" |
741 | 743 | , "queryLedgerState/rewardsProvenance" |
742 | 744 | , "queryLedgerState/stakePools" |
| 745 | + , "queryLedgerState/stakePoolsPerformances" |
743 | 746 | , "queryLedgerState/utxo" |
744 | 747 | , "queryLedgerState/tip" |
745 | 748 | , "queryLedgerState/treasuryAndReserves" |
|
790 | 793 | , "queryLedgerState/rewardAccountSummaries" |
791 | 794 | , "queryLedgerState/rewardsProvenance" |
792 | 795 | , "queryLedgerState/stakePools" |
| 796 | + , "queryLedgerState/stakePoolsPerformances" |
793 | 797 | , "queryLedgerState/utxo" |
794 | 798 | , "queryLedgerState/tip" |
795 | 799 | , "queryLedgerState/treasuryAndReserves" |
|
1715 | 1719 | ] |
1716 | 1720 | } |
1717 | 1721 |
|
| 1722 | + , "QueryLedgerStateStakePoolsPerformances": |
| 1723 | + { "title": "QueryLedgerStateStakePoolsPerformances" |
| 1724 | + , "description": "Query details about pools performances indicators for the ongoing epoch." |
| 1725 | + , "type": "object" |
| 1726 | + , "required": [ "jsonrpc", "method" ] |
| 1727 | + , "additionalProperties": false |
| 1728 | + , "properties": |
| 1729 | + { "jsonrpc": |
| 1730 | + { "type": "string" |
| 1731 | + , "enum": [ "2.0" ] |
| 1732 | + } |
| 1733 | + , "method": |
| 1734 | + { "type": "string" |
| 1735 | + , "enum": [ "queryLedgerState/stakePoolsPerformances" ] |
| 1736 | + } |
| 1737 | + , "id": |
| 1738 | + { "description": "An arbitrary JSON value that will be mirrored back in the response." |
| 1739 | + } |
| 1740 | + } |
| 1741 | + } |
| 1742 | + |
| 1743 | + , "QueryLedgerStateStakePoolsPerformancesResponse": |
| 1744 | + { "oneOf": |
| 1745 | + [ { "title": "QueryLedgerStateStakePoolsPerformancesResponse" |
| 1746 | + , "type": "object" |
| 1747 | + , "required": [ "jsonrpc", "method", "result" ] |
| 1748 | + , "additionalProperties": false |
| 1749 | + , "properties": |
| 1750 | + { "jsonrpc": |
| 1751 | + { "type": "string" |
| 1752 | + , "enum": [ "2.0" ] |
| 1753 | + } |
| 1754 | + , "method": |
| 1755 | + { "type": "string" |
| 1756 | + , "enum": [ "queryLedgerState/stakePoolsPerformances" ] |
| 1757 | + } |
| 1758 | + , "result": |
| 1759 | + { "$ref": "ogmios.json#/definitions/StakePoolsPerformances" |
| 1760 | + } |
| 1761 | + , "id": |
| 1762 | + { "description": "Any value that was set by a client request in the 'id' field." |
| 1763 | + } |
| 1764 | + } |
| 1765 | + } |
| 1766 | + , { "$ref": "ogmios.json#/properties/QueryLedgerStateEraMismatch" } |
| 1767 | + , { "$ref": "ogmios.json#/properties/QueryLedgerStateUnavailableInCurrentEra" } |
| 1768 | + , { "$ref": "ogmios.json#/properties/QueryLedgerStateAcquiredExpired" } |
| 1769 | + ] |
| 1770 | + } |
| 1771 | + |
1718 | 1772 | , "QueryLedgerStateStakePools": |
1719 | 1773 | { "title": "QueryLedgerStateStakePools" |
1720 | 1774 | , "description": "Query the list of all stake pools currently registered and active, optionally filtered by ids." |
|
2919 | 2973 | } |
2920 | 2974 |
|
2921 | 2975 | , "RewardsProvenance": |
| 2976 | + { "type": "object" |
| 2977 | + , "additionalProperties": false |
| 2978 | + , "required": [ "totalStake", "activeStake", "fees", "incentives", "treasuryTax", "totalRewards", "efficiency", "pools" ] |
| 2979 | + , "properties": |
| 2980 | + { "totalStake": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 2981 | + , "activeStake": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 2982 | + , "fees": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 2983 | + , "incentives": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 2984 | + , "treasuryTax": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 2985 | + , "totalRewards": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 2986 | + , "efficiency": { "$ref": "cardano.json#/definitions/Ratio" } |
| 2987 | + , "pools": |
| 2988 | + { "type": "object" |
| 2989 | + , "propertyNames": { "$ref": "cardano.json#/definitions/StakePoolId" } |
| 2990 | + , "additionalProperties": |
| 2991 | + { "title": "StakePoolRewardsProvenance" |
| 2992 | + , "type": "object" |
| 2993 | + , "additionalProperties": false |
| 2994 | + , "required": [ "relativeStake", "blocksMade", "totalRewards", "leaderReward"] |
| 2995 | + , "properties": |
| 2996 | + { "relativeStake": { "$ref": "cardano.json#/definitions/Ratio" } |
| 2997 | + , "blocksMade": { "$ref": "cardano.json#/definitions/UInt32" } |
| 2998 | + , "totalRewards": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 2999 | + , "leaderReward": { "$ref": "cardano.json#/definitions/Value<AdaOnly>" } |
| 3000 | + } |
| 3001 | + } |
| 3002 | + } |
| 3003 | + } |
| 3004 | + } |
| 3005 | + |
| 3006 | + , "StakePoolsPerformances": |
2922 | 3007 | { "type": "object" |
2923 | 3008 | , "description": "Details about how rewards are calculated for the ongoing epoch." |
2924 | 3009 | , "additionalProperties": false |
|
0 commit comments