Token
get
Fetches the details of a specified token on a given blockchain.
Query parameters
chainstringRequired
- The blockchain on which the token resides.
tokenstringRequired
- The address or symbol of the token to fetch details for.
Responses
200
A promise that resolves to an ApiResponse containing the token details.
application/json
get
GET //lifi/token HTTP/1.1
Host: beta.usemoon.ai
Accept: */*
200
A promise that resolves to an ApiResponse containing the token details.
{
"success": true,
"message": "text",
"data": {
"address": "text",
"chainId": 1,
"symbol": "text",
"decimals": 1,
"name": "text",
"coinKey": "text",
"logoURI": "text",
"priceUSD": "text"
}
}