Token Users Over Time

Shows the number of users of a token over time.
- a user is defined as having sent or received this token on the day specified.

Examples

Track daily active users for USDC

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/token/daily_active_users";

async function getDailyActiveUsers() {
    const { data } = await axios.post(
        url,
        {
			"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
		},
        {
            headers: {
                Accept: "application/json",
                "Content-Type": "application/json",
                Authorization: "Bearer <your_token>",
            },
        }
    );

    console.log(data);
}

Get active users on a specific day for DUST

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/token/daily_active_users";

async function getActiveUsersByDay() {
    const { data } = await axios.post(
        url,
        {
			"mint": "DUSTawucrTsGU8hcqRdHDCbuYhCPADMLM2VcCb8VnFnQ",
			"day": "2022-05-24T00:00:00.000Z"
		},
        {
            headers: {
                Accept: "application/json",
                "Content-Type": "application/json",
                Authorization: "Bearer <your_token>",
            },
        }
    );

    console.log(data);
}
Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!