LP Emissions

Current reward emissions per token and LP pool for programs

Examples

Get emissions by pool address

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/defi/liquidity-pools/emissions";

async function getEmissionsForPool() {
    const { data } = await axios.post(
        url,
        {
			"poolAddress": "HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"
		},
        {
            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!