Avascan Knowledge Base
  • Get started
  • 📗How to use Avascan
    • Introduction
    • Homepage
    • Unified Transaction List
    • Blocks
    • Assets
    • Token page
    • Verified contracts
    • Marketcap
    • Network Activity
    • Avalanche Bridge
    • Transaction Details
    • Blockchains
    • X-Chain
    • C-Chain
    • Staking
    • Whale Transactions
    • Rich List
    • Hot dApps
    • Burned Fees
    • AVAX Genesis
    • Avalanche Market Cap
    • Keyboard shortcuts
    • Universal Search v0.1
    • Metamask configuration
  • Delegation
    • How to delegate
    • FAQs
    • How to choose a validator
    • Avascan validators
  • 🌟Programs
    • Validator Claim
    • Asset Claim
    • Address Claim
    • The Blue Badge
  • 👩‍💻Tutorial
    • How to verify smart contract
    • How to setup your token marketcap
    • Deploy and verify an ERC-20 token
  • 📖APIs
    • Documentation
    • /api/v1 (deprecated)
      • Supply (deprecated)
      • Statistics (deprecated)
      • Staking (deprecated)
      • Burned fees (deprecated)
      • GraphQL (deprecated)
    • /api/v2
Powered by GitBook
On this page
  • Get current AVAX Supply
  • Validators
  • Delegations

Was this helpful?

  1. APIs
  2. /api/v1 (deprecated)

Staking (deprecated)

Source validators data from the Primary Network

These endpoints have been deprecated.

Get current AVAX Supply

GET https://avascan.info/api/v1/supply

This endpoint gives more granular data about the AVAX supply based on a mix of real-time updates and editorial work of the Avascan team.

Query Parameters

Name
Type
Description

totalSupply

number

total available AVAX supply (360MM + stakingRewards)

circulatingSupply

number

genesisUnlock + stakingRewards

lastUpdate

number

date of last update of the whole data set

stakingRewards

number

total staking rewards minted

genesisUnlock

number

unlocked AVAX at the time as per the AVAX Unlock Schedule

{
  "genesisUnlock": 65171868.28,
  "stakingRewards": 11765187,
  "lastUpdate": "2020-12-08T12:00:00.000Z",
  "circulatingSupply": 76937055.28,
  "totalSupply": 371765

Validators

GET https://avascan.info/api/v1/validators

This API allows you to source data per each validator on the Primary Network.

Path Parameters

Name
Type
Description

offset

number

The starting point of the search

limit

number

Number of items to fetch

orderBy

object

Can be used with all numeric keys with 'desc' or 'asc' value: weight, startTime, endTime, delegatedWeight, delegations, capacity, delegationFee, maxYield, potentialReward

{
    "count":1004,
    "results":
        [
            {
            "id":"NodeID-3DwhPYMEQABuocceWDAZEpi8GMcLyvTYy",
            "weight":3000000,
            "startTime":"2020-09-22T09:24:17.000Z",
            "endTime":"2021-09-22T09:24:17.000Z",
            "status":"active",
            "delegatedWeights":1313691.75,
            "delegations":34,
            "capacity":0,
            "delegationFee":0.0999,
            "maxYield":0.0999,
            "potentialReward":197357.255653572,
            "beneficiary":
                    {
                    "locktime":"0",
                    "threshold":"1",
                    "addresses":
                        [ "P-avax1p9w2g4nds47d83sa7vqtm2g3yr28mp7f6pd7tt"]
                    }
            }
        ]    
}
        

Delegations

GET https://avascan.info/api/v1/delegations

This API allows you to source data about all the delegations in progress. It does not provide historical delegations. No parameter is needed.

{
    "items":
        [
            {
                "beneficiary":
                    {
                        "locktime":"0",
                        "threshold":"1",
                        "addresses":
                        ["P-avax1ef0yud6tj9xt2t7gt8gnkzf0kksw4wfgpwm78v"]
                    },
                "txid":"zJUu4d87L8fakqx1ayPUNcvuxk2bKiKLUnyQjqrTvCwKdtMti",
                "weight":2324960,
                "nodeID":"NodeID-77sRzBARyvwQk9g4d2CZaucRQeRA7SJuh",
                "potentialReward":34302.056718573,
                "startTime":"2021-07-06T13:48:44.000Z",
                "endTime":"2021-09-04T23:00:19.000Z"
            },
        ...
        ]
}            

PreviousStatistics (deprecated)NextBurned fees (deprecated)

Last updated 1 year ago

Was this helpful?

📖