Confirm

GEThttps://inj.nownodes.io/peggy/v1/valset/confirm
Query parameters
Response

A successful response.

Body
confirmobject

MsgValsetConfirm this is the message sent by the validators when they wish to submit their signatures over the validator set at a given block height. A validator must first call MsgSetEthAddress to set their Ethereum address to be used for signing. Then someone (anyone) must make a ValsetRequest the request is essentially a messaging mechanism to determine which block all validators should submit signatures over. Finally validators sign the validator set, powers, and Ethereum addresses of the entire validator set at the height of a ValsetRequest and submit that signature with this message.

If a sufficient number of validators (66% of voting power) (A) have set Ethereum addresses and (B) submit ValsetConfirm messages with their signatures it is then possible for anyone to view these signatures in the chain store and submit them to Ethereum to update the validator set

Request
const response = await fetch('https://inj.nownodes.io/peggy/v1/valset/confirm', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "confirm": {
    "nonce": "text",
    "orchestrator": "text",
    "eth_address": "text",
    "signature": "text"
  }
}