Returns the IRC30 metadata as JSON.
GET/api/irc-metadata/v1/tokens/:tokenId
Load the IRC30 metadata of a native token foundry by its id.
Request
Path Parameters
Unique identifier of the token.
Responses
- 200
- 400
- 403
- 404
- 500
Successful operation.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: Value must match regular expression ^IRC30$
The IRC standard of the token metadata
The human-readable name of the native token
The human-readable description of the token
The symbol/ticker of the token
Number of decimals the token uses (divide the token amount by decimals to get its user representation)
URL pointing to more resources about the token
URL pointing to an image resource of the token logo
The logo of the token encoded as a byte string
{
"standard": "string",
"name": "string",
"description": "string",
"symbol": "string",
"decimals": 0,
"url": "string",
"logoUrl": "string",
"logo": "string"
}
Unsuccessful operation: indicates that the provided data is invalid.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
The application error code.
The error reason.
{
"error": {
"code": 400,
"message": "invalid data provided"
}
}
Unsuccessful operation: indicates that the endpoint is not available for public use.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
The application error code.
The error reason.
{
"error": {
"code": 403,
"message": "not available for public use"
}
}
Unsuccessful operation: indicates that the requested data was not found.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
The application error code.
The error reason.
{
"error": {
"code": 404,
"message": "could not find data"
}
}
Unsuccessful operation: indicates that an unexpected, internal server error happened which prevented the node from fulfilling the request.
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
The application error code.
The error reason.
{
"error": {
"code": 500,
"message": "internal server error"
}
}