APIs & SDKs
Log In
APIs & SDKs

getCollectionActivities

🔄 Contextualizing getCollectionActivities

  • getCollectionActivities retrieves an object containing various activities involving a specific collection (contract), such as sales, listings, mints, transfers, etc. It takes the following path parameters:

    • chainId - integer.

    • contractAddress - string.

    And the following query parameters:

    • activityTypes - an array of strings (can besale, list, unlist, mint, or transfer).

    • page - integer, 1 by default.

    • limit - integer, 100 by default.


Query example

const Axios = require("axios"); const projectUuId = 'Your Project Id'; const projectKey = 'Your Project Client Or Server Key'; const chainId = 5; // Goerli const baseUrl = 'https://api-market.particle.network'; const contractAddress = '0x14CC6aF7A7318347419758274049e93DB03236C9'; const url = `${baseUrl}/chains/${chainId}/contractAddress/${contractAddress}/activity`; (async () => { const response = await Axios.get(url, { params: { projectUuid, projectKey, }, }); console.log(JSON.stringify(response.data)); })();
Path Params
integer
required
string
required
Query Params
params
object
required
integer
integer
Response

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json