BalanceOf

get

Retrieves the balance of ERC721 tokens for a given account.

Authorizations
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
get
GET //erc721/{account}/balanceOf 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
}