Skip to main content
POST
/
rpc
/
Collections
/
GetContractCollection
GetContractCollection
curl --request POST \
  --url https://metadata.sequence.app/rpc/Collections/GetContractCollection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": 123,
  "chainId": 123,
  "contractAddress": "<string>"
}
'
{
  "contractCollection": {
    "id": 123,
    "chainId": 123,
    "contractAddress": "<string>",
    "collectionId": 123
  }
}

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
chainId
number
contractAddress
string

Response

OK

contractCollection
object