description |
---|
POST /chains/{chainId}/contractAddress/{contractAddress}/tracking |
{% hint style="info" %} Only traced contracts appear on the market {% endhint %}
Results:
<object>
success: <boolean>
: Is the track successful
Request example:
{% tabs %} {% tab title="Node.js" %}
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));
})();
{% endtab %} {% endtabs %}
Response example:
{
"error_code": 0,
"data": {
"success": true
}
}