diff --git a/rpc/getBlock.go b/rpc/getBlock.go index 2bbeea05..eae1a1f6 100644 --- a/rpc/getBlock.go +++ b/rpc/getBlock.go @@ -163,6 +163,10 @@ type GetBlockResult struct { // The number of blocks beneath this block. BlockHeight *uint64 `json:"blockHeight"` + + // The number of reward partitions. + // Present for the first block in the epoch otherwise Nil. + NumRewardPartitions *uint64 `json:"numRewardPartitions"` } func (cl *Client) GetParsedBlockWithOpts( @@ -230,6 +234,10 @@ type GetParsedBlockResult struct { // The number of blocks beneath this block. BlockHeight *uint64 `json:"blockHeight"` + + // The number of reward partitions. + // Present for the first block in the epoch otherwise Nil. + NumRewardPartitions *uint64 `json:"numRewardPartitions"` } type ParsedTransactionWithMeta struct {