Skip to main content
GET
/
erc721
/
{id}
/
{tokenId}
Get token info
curl --request GET \
  --url https://lab.trustos.telefonicatech.com/track/v2/erc721/{id}/{tokenId} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "message": "Healthcheck",
  "data": {
    "type": "ERC721",
    "deployer": "did:user:<id>",
    "data": {
      "contractAddress": "0xebF01265FcE347EE2161f37e49416d947C7a9590",
      "name": "MyToken",
      "symbol": "MTK",
      "networkId": 10004
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Token address or symbol.

Example:

"0xabcdef"

tokenId
string
required

Id of the token to be retrieved.

Example:

"0"

Query Parameters

networkId
number
required

Network identifier where the NFT collection contract was deployed.

Example:

10004

Response

Successful token info retrieval.

statusCode
number

Request status code.

Example:

200

message
string

Message returned by the request.

Example:

"Healthcheck"

data
object

Data returned by the request.