Skip to content

Conversation

@huancheng-trili
Copy link
Collaborator

Description

Closes #47.

Added one method GetBakingPowerDistributionForCurrentCycle and relevant data types to the RPC client for fetching the total baking power and baking power distribution for all the active delegates.

API spec

Test plan

Added unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new RPC GET /chains/<chain_id>/blocks/<block_id>/helpers/baking_power_distribution_for_current_cycle

2 participants