Program Overlap

Program overlap shows the overlap between the users of two protocols.
The data will show what percentage of 'aProgramIds' users also use 'bProgramId'

Examples

Get overlapping programs with Orca

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/defi/program-stats/overlap";

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