🔥Track a Collection

POST /chains/{chainId}/contractAddress/{contractAddress}/tracking

Only traced contracts appear on the market

Results:

  • <object>

    • success: <boolean>: Is the track successful

Request example:

const Axios = require("axios");

const projectUuId = 'Your Project Id';
const projectKey = 'Your Project Client Or Server Key';
const chainId = 5; // Goerli Network
const baseUrl = 'https://api-market.particle.network';
const contractAddress = '0xE860aE9379B1902DC08F67F50de7b9CC066AF0FF';
const url = `${baseUrl}/chains/${chainId}/contractAddress/${contractAddress}/tracking`;

(async () => {
    const response = await Axios.post(url, {
        params: {
            projectUuid,
            projectKey,
        },
    });

    console.log(JSON.stringify(response.data));
})();

Response example:

{
    "error_code": 0,
    "data": {
        "success": true
    }
}

Last updated