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

BalanceOf

get

Retrieves the balance of ERC721 tokens for a given account.

Authorizations
AuthorizationstringRequired
Path parameters
accountstringRequired
  • The account address to query the balance for.
Query parameters
chainIdstringRequired
  • The ID of the blockchain network.
addressstringRequired
  • The contract address of the ERC721 token.
Header parameters
AuthorizationstringRequired
  • The authorization token for accessing the ERC721 instance.
Responses
200

A promise that resolves to an ERC721APIResponse containing the balance of the account.

application/json

Interface representing the structure of the response from the ERC721 API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

dataanyOptional

Optional data returned by the API.

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

A promise that resolves to an ERC721APIResponse containing the balance of the account.

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