Node

Get all nodes

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

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

Headers

NameTypeDescription

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 node

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

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

Path Parameters

NameTypeDescription

id*

string

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

Headers

NameTypeDescription

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 node

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

This endpoint allows you to remove node from hosting.

Path Parameters

NameTypeDescription

id*

string

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

Headers

NameTypeDescription

Authorization*

string

Bearer TOKEN

Last updated