Get token by id
GET/v1/custom-tokens/:tokenId
Get token by id
This endpoint retrieves a custom token based on its unique identifier. It accepts a UUID as a parameter and returns the corresponding token if found. On success, it responds with a JSON object representing the token.
Request
Path Parameters
id stringrequired
Token id
tokenId uuidrequired
Responses
- 200
- 404
- 500
Token found
- application/json
- Schema
- Example (from schema)
Schema
address stringrequired
asset_type stringrequired
chain_id int32required
coingecko_id stringnullable
decimals int32nullable
id uuidrequired
item_id stringnullable
name stringnullable
owner_address stringnullable
symbol stringnullable
token_uri stringnullable
updated_at date-timerequired
{
"address": "string",
"asset_type": "string",
"chain_id": 0,
"coingecko_id": "string",
"decimals": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"item_id": "string",
"name": "string",
"owner_address": "string",
"symbol": "string",
"token_uri": "string",
"updated_at": "2024-09-25T19:42:12.405Z"
}
Token not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...