POST
/
rpc
/
Collections
/
CreateContractCollection
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
  }
}'
{
  "contractCollection": {
    "id": 460,
    "chainId": 80002,
    "contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7",
    "collectionId": 819
  }
}

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
contractCollection
object

Response

200
application/json
OK
contractCollection
object