メインコンテンツへスキップ
POST
/
rpc
/
Metadata
/
GetContractInfo
GetContractInfo
curl --request POST \
  --url https://metadata.sequence.app/rpc/Metadata/GetContractInfo \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '
{
  "chainID": "<string>",
  "contractAddress": "<string>"
}
'
{
  "contractInfo": {
    "chainId": 123,
    "address": "<string>",
    "name": "<string>",
    "type": "<string>",
    "symbol": "<string>",
    "logoURI": "<string>",
    "deployed": true,
    "bytecodeHash": "<string>",
    "extensions": {
      "link": "<string>",
      "description": "<string>",
      "categories": [
        "<string>"
      ],
      "ogImage": "<string>",
      "ogName": "<string>",
      "originChainId": 123,
      "originAddress": "<string>",
      "blacklist": true,
      "verified": true,
      "verifiedBy": "<string>",
      "featured": true
    },
    "contentHash": 123,
    "updatedAt": "<string>",
    "notFound": true,
    "status": "NOT_AVAILABLE",
    "decimals": 123,
    "queuedAt": "<string>"
  },
  "task": {
    "id": 123,
    "queue": "<string>",
    "try": 123,
    "payload": [
      "<string>"
    ],
    "status": "QUEUED",
    "runAt": "<string>",
    "lastRanAt": "<string>",
    "createdAt": "<string>",
    "hash": "<string>"
  }
}

Authorizations

X-Access-Key
string
header
required

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

Body

application/json
chainID
string
contractAddress
string

Response

OK

contractInfo
object
task
object