Assets
Retrieves the assets using the provided authorization token.
- The authorization token from the request header.
A promise that resolves to a LynexAPIResponse containing the assets data, success status, and a message.
Represents the response structure from the Lynex API.
Indicates whether the API request was successful.
A message providing additional information about the API response.
Optional data returned by the API, if any.
GET /lynex/data/assets HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
A promise that resolves to a LynexAPIResponse containing the assets data, success status, and a message.
{
"success": true,
"message": "text",
"data": null
}Retrieves an asset by its address.
- The address of the asset to retrieve.
- The authorization token.
A promise that resolves to a LynexAPIResponse containing the asset data.
Represents the response structure from the Lynex API.
Indicates whether the API request was successful.
A message providing additional information about the API response.
Optional data returned by the API, if any.
GET /lynex/data/assets/{address} HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
A promise that resolves to a LynexAPIResponse containing the asset data.
{
"success": true,
"message": "text",
"data": null
}