Validator

Get all validators

GET https://www.allnodes.com/api/v1/node

This endpoint allows to get list of all your hosted validators.

Headers

Name
Type
Description

Authorization*

string

Bearer TOKEN

[
  {
    id: string;
    ip: string;
    name: string;
    currencySymbol: string;
    createdAt: string;
    payoutFrequencySeconds: number | null;
    apr: string | null;
    instance: {
      version: string;
      status: string;
      uptimeSeconds: number | null;
      lastSeenAt: string | null;
    };
    address: {
      collateralAddress: string;
      collateralHash: string;
      collateralIndex: number;
      payeeAddress: string;
      balanceAmount: number;
      rewardsEarned: number;
      lastRewardAt: string | null;
    };
    settings: {
      walletType: 'ledger' | 'trezor' | 'core' | null;
    };
  }
]

Get a validator

GET https://www.allnodes.com/api/v1/node/{id}

This endpoint allows to get info about specific validator on your account.

Path Parameters

Name
Type
Description

id*

string

Validator you want to get info about. ID can be extracted from the “Get all validators” call

Headers

Name
Type
Description

Authorization*

string

Bearer TOKEN

{
  id: string;
  ip: string;
  name: string;
  currencySymbol: string;
  createdAt: string;
  payoutFrequencySeconds: number | null;
  apr: string | null;
  instance: {
    version: string;
    status: string;
    uptimeSeconds: number | null;
    lastSeenAt: string | null;
  };
  address: {
    collateralAddress: string;
    collateralHash: string;
    collateralIndex: number;
    payeeAddress: string;
    balanceAmount: number;
    rewardsEarned: number;
    lastRewardAt: string | null;
  };
  settings: {
    walletType: 'ledger' | 'trezor' | 'core' | null;
  };
}

Remove a validator

DELETE https://www.allnodes.com/api/v1/node/{id}

This endpoint allows you to remove validator from hosting.

Path Parameters

Name
Type
Description

id*

string

Validator you want to remove. ID can be extracted from the “Get all validators” call

Headers

Name
Type
Description

Authorization*

string

Bearer TOKEN

Last updated