Skip to content
Cosmopediaby Unity Nodes
DiscussionsCosmos-SDKGet Proposer for Round in SDKForum ↗

Get Proposer for Round in SDK

Cosmos-SDK4 posts803 viewsLast activity Oct 2018
VA
vaibhavchellaniOP
Oct 2018

Is there any way using which we can get proposer for the next round from tendermint ?
For my use case i need to check the proposer for the next round before sending transaction via broadcast_commit .

cc : @jack (I hope you dont mind me tagging )

BH
bharvest
Oct 2018

you can expect the validator with highest accum has the right to propose the next block. but this validator might be offline at that time, causing change in block proposer.

And from 26657 port, you can find the valudator with highest accum.

By the way, why you need to check the block proposer before sending txs?

VA
vaibhavchellani
Oct 2018
bharvest:

By the way, why you need to check the block proposer before sending txs?

Thank you for your help ! Which endpoint could give me accum for a validator or all validators ?
As i said its for a specific use case where proposer needs to send transaction to tendermint and make sure he proposes it .

KW
kwunyeung
Oct 2018

You can get the accum of all validators from /validators endpoint.

← Back to Discussions