Get information about a token if send token ID, otherwise return list of tokens
GET/thin_wallet/token
Get information about a token if send token ID, otherwise return list of tokens
Request
Query Parameters
id stringrequired
Token id
Responses
- 200
Success
- application/json
- Schema
- success
- error
- success_list
Schema
any
Success
{
"success": true,
"name": "MyCoin",
"symbol": "MYC",
"mint": [
{
"tx_id": "00000299670db5814f69cede8b347f830f73985eaa4cd1ce87c9a7c793771336",
"index": 0
}
],
"melt": [
{
"tx_id": "00000299670db5814f69cede8b347f830f73985eaa4cd1ce87c9a7c793771336",
"index": 1
}
],
"total": 50000,
"transactions_count": 3
}
Invalid token id
{
"success": false,
"message": "Invalid token id"
}
List of tokens success
{
"success": true,
"truncated": false,
"tokens": [
{
"uid": "00000b1b8b1df522489f9aa38cba82a450b1fe58093e97bc94a0275fbeb226b2",
"name": "MyCoin",
"symbol": "MYC"
},
{
"uid": "00000093f76f44c664907a017bbf9ef6bb289692e30c7cf7361e6872c5ee1796",
"name": "New Token",
"symbol": "NTK"
}
]
}
Loading...