Stake Accounts

Shows all stake account creation on Solana. Data goes back 30 days.

Examples

Get accounts created by an authority account

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/defi/staking/accounts";

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

    console.log(data);
}

Get info on when a stake account was created

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/defi/staking/accounts";

async function getStakeAccountInfo() {
    const { data } = await axios.post(
        url,
        {
			"stakeAccount": "4GfzvjkmDNgN2hzY1EGgzxk4Y6uMushc9iXXtqg9moGt"
		},
        {
            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!