Assets

get

Retrieves the assets using the provided authorization token.

Authorizations
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
200
A promise that resolves to a `LynexAPIResponse` containing the assets data, success status, and a message.
application/json
get
GET //lynex/data/assets HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to a LynexAPIResponse containing the assets data, success status, and a message.

{
  "success": true,
  "message": "text",
  "data": null
}
get

Retrieves an asset by its address.

Authorizations
Path parameters
addressstringRequired
  • The address of the asset to retrieve.
Header parameters
AuthorizationstringRequired
  • The authorization token.
Responses
200
A promise that resolves to a LynexAPIResponse containing the asset data.
application/json
get
GET //lynex/data/assets/{address} HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to a LynexAPIResponse containing the asset data.

{
  "success": true,
  "message": "text",
  "data": null
}