Commission

ValidatorCommission queries accumulated commission for a validator.

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

validator_address defines the validator address to query for.

Response

A successful response.

Body
commissionobject

ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.

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