Node

Host a validator (with private key)

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

This endpoint allows you to host new validator.

Headers

Request Body

{
  id: string;
  ip: string;
  name: string;
  currencySymbol: string;
  createdAt: string;
  payoutFrequencySeconds: number;
  apr: string;
  instance: {
    version: string;
    status: string;
    uptimeSeconds: number | null;
    nodeId: number | null;
  };
  address: {
    rewardOwner: string;
    rewardsEarned: number;
    signingPublicKey: string;
  };
}

Host a validator (with keystore and password)

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

This endpoint allows you to host new validator.

Headers

Request Body

{
  id: string;
  ip: string;
  name: string;
  currencySymbol: string;
  createdAt: string;
  payoutFrequencySeconds: number;
  apr: string;
  instance: {
    version: string;
    status: string;
    uptimeSeconds: number | null;
    nodeId: number | null;
  };
  address: {
    rewardOwner: string;
    rewardsEarned: number;
    signingPublicKey: string;
  };
}

Get message to sign for Fee Recipient address change

GET https://www.allnodes.com/api/v1/node/{id}/fee-recipient/sign-message

Use this endpoint before changing Fee Recipient address.

Path Parameters

Query Parameters

Headers

{
  message: string;
}

Change Fee Recipient address

PUT https://www.allnodes.com/api/v1/node/{id}/fee-recipient

This endpoint allows you to change Fee Recipient address of your validator.

Path Parameters

Headers

Request Body

{
  nodeId: string;
}

Change MEV-Boost Relay

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

This endpoint allows you to change MEV-Boost Relay of your validator.

Path Parameters

Headers

Request Body

{
  nodeId: string;
  newRelay: string;
}

Get message to sign for Voluntary Exit request

GET https://www.allnodes.com/api/v1/node/{id}/voluntary-exit/sign-message

Use this endpoint before requesting Voluntary Exit.

Path Parameters

Headers

{
  message: string;
}

Request Voluntary Exit

POST https://www.allnodes.com/api/v1/node/{id}/voluntary-exit

This endpoint allows you to request Voluntary Exit of your validator.

Path Parameters

Headers

Request Body

{
  nodeId: string;
}

Last updated