post https://rest-api.hellomoon.io/v0/nft/collection/overlap
NOTE: This endpoint is only callable by API keys in the following tiers:
- Business
- Developer
- Enterprise
- PremiumSharedRpc
- StarterSharedRpc
- UltimateSharedRpc
Shows the current overlap between the owners of two different collections.
That is to say, it will show you what percent of degods holders also own SMB
Examples
Get overlap with a specific collection
const axios = require("axios");
const url = "https://rest-api.hellomoon.io/v0/nft/collection/overlap";
async function getOverlap() {
const { data } = await axios.post(
url,
{
"helloMoonCollectionOneId": "040de757c0d2b75dcee999ddd47689c4"
},
{
headers: {
Accept: "application/json",
"Content-Type": "application/json",
Authorization: "Bearer <your_token>",
},
}
);
console.log(data);
}