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
CreateContractCollection
POST
/
rpc
/
Collections
/
CreateContractCollection
Copy
curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/CreateContractCollection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 30957,
"contractCollection": {
"chainId": 80002,
"contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7",
"collectionId": 819
}
}'
Copy
{
"contractCollection": {
"id": 460,
"chainId": 80002,
"contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7",
"collectionId": 819
}
}
Authorizations
Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
Body
application/json
Was this page helpful?
Copy
curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/CreateContractCollection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 30957,
"contractCollection": {
"chainId": 80002,
"contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7",
"collectionId": 819
}
}'
Copy
{
"contractCollection": {
"id": 460,
"chainId": 80002,
"contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7",
"collectionId": 819
}
}