List Collections
Get a list of all collections associated with your project
Replace:
<QUICKNODE_URL>
: Set to your own quicknode RPC URL
curl -i '<QUICKNODE_URL>' -X POST -H 'content-type: application/json' --data-binary '{
"jsonrpc": "2.0",
"method": "cm_listCollections",
"params": [
]
}'
Parameters
No input parameters
Returns
[
{
"id": "<collectionId>",
"metadata": {
"name": "my collection name",
"description": "my collection description",
"imageUrl": "https://www.crossmint.com/api/2022-06-09/media/defaultCollectionImage"
},
"onChain": {
"chain": "solana",
"type": "metaplex-certified-collection"
}
}
]