Validator

Host a validator

POST https://www.allnodes.com/api/v1/node/hosting

This endpoint allows you to host new validator.

Headers

Name
Type
Description

Authorization*

string

Bearer TOKEN

Request Body

Name
Type
Description

currencySymbol*

string

Must be "AVAX"

{
  id: string;
  ip: string;
  name: string;
  currencySymbol: string;
  createdAt: string;
  payoutFrequencySeconds: null;
  apr: string;
  instance: {
    version: string;
    status: string;
    lastSeenAt: string | null;
    uptimeSeconds: number | null;
    uptimePercent: number | null;
    nodeId: string | null;
    blsPublicKey: string | null;
    blsSignature: string | null;
  };
  address: {
    rewardOwner: string;
    rewardsEarned: number;
    rewardsEarnedUsd: number;
    rewardsEarnedFromOwnStake: number;
    rewardsEarnedFromOwnStakeUsd: number;
    rewardsEarnedFromDelegatedStake: number;
    rewardsEarnedFromDelegatedStakeUsd: number;
    stakeAmount: number | null;
    stakeAmountUsd: number | null;
    delegatorAmount: number | null;
    delegatedAmount: number | null;
    delegatedAmountUsd: number | null;
    totalAvailableAmount: number | null;
    totalAvailableAmountUsd: number | null;
    fee: number | null;
    startTimestamp: string | null;
    endTimestamp: string | null;
    delegators: Array<{
      address: string;
      amount: number;
      amountUsd: number;
      startTimestamp: string;
      endTimestamp: string;
    }> | null;
  };
}

Last updated