Skip to content

Commit

Permalink
Add rewards data to epoch_info (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: RdLrT <3169068+rdlrt@users.noreply.github.com>
  • Loading branch information
dostrelith678 and rdlrt committed Jun 24, 2022
1 parent 4a46410 commit 6af763f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions specs/results/koiosapi-guild.yaml
Expand Up @@ -1812,6 +1812,16 @@ components:
description: Total active stake in epoch stake snapshot (null for pre-Shelley epochs)
example: 23395112387185880
nullable: true
total_rewards:
type: string
description: Total rewards earned in epoch (null for pre-Shelley epochs)
example: 252902897534230
nullable: true
avg_blk_reward:
type: string
description: Average block reward for epoch (null for pre-Shelley epochs)
example: 660233450
nullable: true
epoch_params:
type: array
items:
Expand Down
10 changes: 10 additions & 0 deletions specs/results/koiosapi-mainnet.yaml
Expand Up @@ -1812,6 +1812,16 @@ components:
description: Total active stake in epoch stake snapshot (null for pre-Shelley epochs)
example: 23395112387185880
nullable: true
total_rewards:
type: string
description: Total rewards earned in epoch (null for pre-Shelley epochs)
example: 252902897534230
nullable: true
avg_blk_reward:
type: string
description: Average block reward for epoch (null for pre-Shelley epochs)
example: 660233450
nullable: true
epoch_params:
type: array
items:
Expand Down
10 changes: 10 additions & 0 deletions specs/results/koiosapi-testnet.yaml
Expand Up @@ -1812,6 +1812,16 @@ components:
description: Total active stake in epoch stake snapshot (null for pre-Shelley epochs)
example: 23395112387185880
nullable: true
total_rewards:
type: string
description: Total rewards earned in epoch (null for pre-Shelley epochs)
example: 252902897534230
nullable: true
avg_blk_reward:
type: string
description: Average block reward for epoch (null for pre-Shelley epochs)
example: 660233450
nullable: true
epoch_params:
type: array
items:
Expand Down
10 changes: 10 additions & 0 deletions specs/templates/4-api-schemas.yaml
Expand Up @@ -460,6 +460,16 @@ schemas:
description: Total active stake in epoch stake snapshot (null for pre-Shelley epochs)
example: 23395112387185880
nullable: true
total_rewards:
type: string
description: Total rewards earned in epoch (null for pre-Shelley epochs)
example: 252902897534230
nullable: true
avg_blk_reward:
type: string
description: Average block reward for epoch (null for pre-Shelley epochs)
example: 660233450
nullable: true
epoch_params:
type: array
items:
Expand Down

0 comments on commit 6af763f

Please sign in to comment.