Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Name

get

Retrieves the name of an ERC20 token.

Authorizations
AuthorizationstringRequired
Path parameters
accountstringRequired
  • The account address.
Query parameters
chainIdstringRequired
  • The blockchain chain ID.
addressstringRequired
  • The ERC20 token contract address.
Header parameters
AuthorizationstringRequired
  • The authorization token.
Responses
200

A promise that resolves to an ERC20APIResponse containing the token name.

application/json

Interface representing the structure of an API response for ERC20 operations.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

datastringOptional

Optional data payload returned by the API.

get/erc20/{account}/name
GET /erc20/{account}/name?chainId=text&address=text HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200

A promise that resolves to an ERC20APIResponse containing the token name.

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