Allnodes Docs
  • Allnodes API
  • Endpoints
    • Validator
    • Staking
    • Full Node
  • 1INCH NETWORK (1INCH)
    • Staking
  • AAVE (AAVE)
    • Staking
  • AVALANCHE (AVAX)
    • Validator
  • Dash (DASH)
    • Masternode
  • ETHEREUM (ETH)
    • Validator
    • Staking
  • Firo (FIRO)
    • Masternode
  • KUSAMA (KSM)
    • Kusama Staking
  • NEAR Protocol (NEAR)
    • NEAR Protocol Staking
  • PAC PROTOCOL (PAC)
    • Masternode
  • POLKADOT (DOT)
    • Polkadot Staking
  • POLYGON (POL)
    • Staking
  • SHIBA INU (SHIB)
    • Shiba Inu Staking
  • SOLANA (SOL)
    • Solana Staking
  • Syscoin (SYS)
    • Masternode
  • THE GRAPH (GRT)
    • The Graph Staking
  • TRON (TRX)
    • Tron Staking
Powered by GitBook
On this page
  • Get all delegations
  • Get a delegation

Was this helpful?

  1. Endpoints

Staking

Get all delegations

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

This endpoint allows to get list of all your delegations.

Headers

Name
Type
Description

Authorization*

string

Bearer TOKEN

[
  {
    id: number;
    name: string;
    currencySymbol: string;
    createdAt: string;
    apr: string | null;
    payoutFrequencySeconds: number | null;
    address: {
      ownerAddress?: string;
      stakingAddress?: string;
      lastRewardAt: string | null;
    };
    delegations: [{
      validatorId: string;
      validatorName: string;
      delegationAmount: number;
      rewardAmount: number;
    }];
    undelegations: [{
      validatorId: string;
      validatorName: string;
      amount: number;
    }];
    settings: {
      wallet: string;
    };
  }
]

Get a delegation

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

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

Path Parameters

Name
Type
Description

id*

number

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

Headers

Name
Type
Description

Authorization*

string

Bearer TOKEN

{
  id: number;
  name: string;
  currencySymbol: string;
  createdAt: string;
  apr: string | null;
  payoutFrequencySeconds: number | null;
  address: {
    ownerAddress?: string;
    stakingAddress?: string;
    lastRewardAt: string | null;
  };
  delegations: [{
    validatorId: string;
    validatorName: string;
    delegationAmount: number;
    rewardAmount: number;
  }];
  undelegations: [{
    validatorId: string;
    validatorName: string;
    amount: number;
  }];
  settings: {
    wallet: string;
  };
}
PreviousValidatorNextFull Node

Last updated 2 years ago

Was this helpful?