query rewardSchedule($id: String!, $blockHash: Bytes!){
    rewardSchedule(id: $id, block: { hash: $blockHash }){
        id
        rewardScheduleEntries{
            id
            startTime
            epochDuration
            rewardsPerEpoch
        }
        lastEpoch{
            id
            finalized
            epochNumber
            producerBlocks
            allBlocks
            producerBlocksRatio
        }
        pendingEpoch{
            id
            finalized
            epochNumber
            producerBlocks
            allBlocks
            producerBlocksRatio
        }
        activeRewardScheduleEntry{
            id
            startTime
            epochDuration
            rewardsPerEpoch
        }
    }
}
