Validators

ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator

GEThttps://luna.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}
Path parameters
validator_address*string

validator_address defines the validator address to query for.

Response

A successful response.

Body
operator_addressstring

operator_address defines the validator operator address.

self_bond_rewardsarray of object

self_bond_rewards defines the self delegations rewards.

commissionarray of object

commission defines the commission the validator received.

Request
const response = await fetch('https://luna.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "operator_address": "text",
  "self_bond_rewards": [
    {
      "denom": "text",
      "amount": "text"
    }
  ],
  "commission": [
    {
      "denom": "text",
      "amount": "text"
    }
  ]
}