Transactions
- Overview
- Installation
- Endpoints
- Examples
Indexer
- Overview
- Installation
- Endpoints
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- public
- secret
- POSTCreateAsset
- POSTCreateCollection
- POSTCreateContractCollection
- POSTCreateToken
- POSTDeleteAsset
- POSTDeleteCollection
- POSTDeleteContractCollection
- POSTDeleteToken
- POSTGetAsset
- POSTGetCollection
- POSTGetContractCollection
- POSTGetToken
- POSTListCollections
- POSTListContractCollections
- POSTListTokens
- POSTPublishCollection
- POSTUnpublishCollection
- POSTUpdateAsset
- POSTUpdateCollection
- POSTUpdateContractCollection
- POSTUpdateToken
- POST
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
- Examples
Node Gateway
secret
ListContractCollections
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
Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
Body
application/json
Response
200
application/json
OK
[]Collection
map<string,any>
[]Asset
Was this page helpful?
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
}
}