Andromeda
ADO LibraryBuild AppsDevelop ADOsCLIWeb Application Docs
Andromeda
Andromeda
  • Platform and Framework
    • Introduction to AndromedaOS
    • ADO Classes
    • Andromeda Messaging Protocol
      • Kernel
      • ADO Database
      • Economics Engine
      • Virtual File System
    • ADO Base
      • AndromedaMsg
      • AndromedaQuery
    • Common Types
    • Deployed Contracts
    • ADO Versions
  • Andromeda Digital Objects
    • Introduction to ADOs
    • Address List
    • Auction
    • App
    • Curve
    • CW20
    • CW20 Staking
    • CW721
    • CW20 Exchange
    • Fixed Amount Splitter
    • Graph
    • Lockdrop
    • Marketplace
    • Merkle-Airdrop
    • Point
    • Primitive
    • Rates
    • Splitter
    • Timelock
    • Validator Staking
    • Vesting
  • Andromeda Apps
    • Introduction to Apps
    • Auctioning App
    • Cw20 Staking App
    • Marketplace App
  • Developing an ADO
    • Getting Started
      • Instantiation
      • Execution
      • Queries
      • Testing
    • Error Handling and Migrate Function
    • CW3 EXAMPLE
      • InstantiateMsg
      • ExecuteMsg
      • QueryMsg
      • Testing
    • ADO Submissions
  • Andromeda CLI
    • Introduction
    • Help and Shortcuts
    • ADO
    • Bank
    • Chain
    • Env
    • Gql
    • Tx
    • OS
    • Wallet
    • Wasm
    • Clearing CLI Data
    • Clear and Exit
  • Chain
    • Running a Node
    • Staking and Rewards
  • Andromeda Dashboard
    • Tokenomics Dashboard
    • Dashboard API
  • Andromeda Changelog
    • Newest Releases
  • Additional Resources
    • GitHub
    • Website
    • White Paper
Powered by GitBook

Additional Resources

  • Github
  • Website

Community

  • Discord
  • Telegram

Socials

  • Twitter
  • Medium
  • Youtube
On this page
  • Tokenomics History
  • Wallets
  • Example
  • Vesting Emissions

Was this helpful?

  1. Andromeda Dashboard

Dashboard API

PreviousTokenomics DashboardNextNewest Releases

Was this helpful?

The dashboard API can be used by developers to access information on tokens, wallets and more.

Tokenomics History

Hourly summaries for charting staking and circulating supply over the past 30 days.

Curl

curl -X GET "https://api.andromedaprotocol.io/v1/tokenomics/history?limit=1"

Example

Get the circluating supply for ANDR token.

import fetch from 'node-fetch';

// Define the API endpoint
const url = "https://api.andromedaprotocol.io/v1/tokenomics/history?limit=1";

// Fetch data from the API
fetch(url)
  .then(response => {
    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }
    return response.json();
  })
  .then(data => {
    // Check if the result array exists and has at least one element
    if (data.result && data.result.length > 0) {
      const circulatingSupply = data.result[0].circulating_supply;
      console.log(circulatingSupply);
    } else {
      console.log('No result data found');
    }
  })
  .catch(error => {
    console.error('Error fetching data:', error);
  });
import requests

# Define the API endpoint
url = "https://api.andromedaprotocol.io/v1/tokenomics/history?limit=1"

# Fetch data from the API
response = requests.get(url)

# Check if the request was successful
if response.status_code == 200:
    data = response.json()
    # Check if the result array exists and has at least one element
    if 'result' in data and len(data['result']) > 0:
        circulating_supply = data['result'][0]['circulating_supply']
        print(circulating_supply)
    else:
        print('No result data found')
else:
    print(f"Failed to retrieve data: {response.status_code}")

Wallets

Track known wallets for big activity & enhance security through community monitoring.

Curl

curl -X GET "https://api.andromedaprotocol.io/v1/tokenomics/wallets"

Example

Get the top 5 wallets with most ANDR tokens.

import fetch from 'node-fetch';

// Define the API endpoint
const url = "https://api.andromedaprotocol.io/v1/tokenomics/wallets";

// Fetch data from the API
fetch(url)
  .then(response => {
    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }
    return response.json();
  })
  .then(data => {
    // Check if the result array exists and has at least one element
    if (data.result && data.result.length > 0) {
      // Sort wallets by balance in descending order and get the top 5
      const topHolders = data.result.sort((a, b) => b.balance - a.balance).slice(0, 5);
      topHolders.forEach((holder, index) => {
        console.log(`${index + 1}. Address: ${holder.address}, Balance: ${holder.balance}`);
      });
    } else {
      console.log('No wallets data found');
    }
  })
  .catch(error => {
    console.error('Error fetching data:', error);
  });
import requests

# Define the API endpoint
url = "https://api.andromedaprotocol.io/v1/tokenomics/wallets"

# Fetch data from the API
response = requests.get(url)

# Check if the request was successful
if response.status_code == 200:
    data = response.json()
    # Check if the result array exists and has at least one element
    if 'result' in data and len(data['result']) > 0:
        top_holders = sorted(data['result'], key=lambda x: x['balance'], reverse=True)[:5]
        for i, holder in enumerate(top_holders, 1):
            print(f"{i}. Address: {holder['address']}, Balance: {holder['balance']}")
    else:
        print('No wallets data found')
else:
    print(f"Failed to retrieve data: {response.status_code}")

Vesting Emissions

Get real-time vesting emission rates & project token releases for the next 2 years.

You can define the timestamp to get the emission rate for at the end of the URL as seen below.

Curl

curl -X GET "https://api.andromedaprotocol.io/v1/tokenomics/vesting-emission?timestamp=1721055818196"

Example

Get vesting emission per second for the timestamp 1731055818196.

import fetch from 'node-fetch';

// Define the API endpoint with the timestamp
const url = "https://api.andromedaprotocol.io/v1/tokenomics/vesting-emission?timestamp=1731055818196";

// Fetch data from the API
fetch(url)
  .then(response => {
    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }
    return response.json();
  })
  .then(data => {
    // Check if 'vesting_emission_per_second' key exists in the data
    if (data.vesting_emission_per_second) {
      const vestingEmissionPerSecond = data.vesting_emission_per_second;
      console.log(`Vesting Emission Per Second: ${vestingEmissionPerSecond}`);
    } else {
      console.log('No vesting emission per second data found');
    }
  })
  .catch(error => {
    console.error('Error fetching data:', error);
  });
import requests

# Define the API endpoint with the timestamp
url = "https://api.andromedaprotocol.io/v1/tokenomics/vesting-emission?timestamp=1731055818196"

# Fetch data from the API
response = requests.get(url)

# Check if the request was successful
if response.status_code == 200:
    data = response.json()
    # Check if 'vesting_emission_per_second' key exists in the data
    if 'vesting_emission_per_second' in data:
        vesting_emission_per_second = data['vesting_emission_per_second']
        print(f"Vesting Emission Per Second: {vesting_emission_per_second}")
    else:
        print('No vesting emission per second data found')
else:
    print(f"Failed to retrieve data: {response.status_code}")
https://api.andromedaprotocol.io/v1/tokenomics/history?limit=1api.andromedaprotocol.io
https://api.andromedaprotocol.io/v1/tokenomics/walletsapi.andromedaprotocol.io
https://api.andromedaprotocol.io/v1/tokenomics/vesting-emission?timestamp=1721055818196api.andromedaprotocol.io