POST
/
rpc
/
Collections
/
ListContractCollections
curl --request POST \
  --url https://metadata.sequence.app/rpc/Collections/ListContractCollections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "collectionId": 819,
  "projectId": 30957
}'
{
  "contractCollections": [
    {
      "id": 370,
      "chainId": 80002,
      "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970",
      "collectionId": 819
    }
  ],
  "collections": [
    {
      "id": 819,
      "projectId": 30957,
      "metadata": {
        "name": "Placeholders",
        "description": "Placeholders collection",
        "image": "https://metadata.sequence.app/projects/30957/collections/819/image.png"
      },
      "private": false,
      "createdAt": "2024-10-03T18:46:15.987375Z",
      "updatedAt": "2024-10-03T18:46:18.25727Z"
    }
  ],
  "page": {
    "pageSize": 30,
    "more": false
  }
}

Authorizations

Authorization
string
header
required

Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.

Body

application/json
projectId
number
collectionId
number
page
object

Response

200
application/json
OK
contractCollections
object[]

[]ContractCollection

collections
object[]

[]Collection

page
object