GET
/
erc20
/
{id}
curl --request GET \
  --url https://lab.trustos.telefonicatech.com/track/v2/erc20/{id} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "message": "Healthcheck",
  "data": {
    "type": "ERC20",
    "deployer": "did:user:<id>",
    "data": {
      "contractAddress": "0xebF01265FcE347EE2161f37e49416d947C7a9590",
      "name": "MyToken",
      "symbol": "MTK",
      "burnAddress": "0xabcdef",
      "networkId": 10004
    },
    "totalSupply": 2000,
    "balance": 2000
  }
}

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"

Query Parameters

networkId
number
required

Network identifier where the token contract was deployed.

Example:

10004

Response

200
application/json

Token info retrieved successfully.

The response is of type object.