A successful response.
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
const response = await fetch('https://coreum.nownodes.io/cosmos/base/tendermint/v1beta1/validatorsets/{height}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "block_height": "text", "validators": [ { "address": "text", "pub_key": { "@type": "text" }, "voting_power": "text", "proposer_priority": "text" } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }