GetApproved

get

Retrieves the approved address for a specific ERC721 token.

Authorizations
Path parameters
tokenIdstringRequired
  • The ID of the token to check approval for.
Query parameters
chainIdstringRequired
  • The ID of the blockchain network.
addressstringRequired
  • The address of the ERC721 contract.
Header parameters
AuthorizationstringRequired
  • The authorization token for the request.
Responses
200
A promise that resolves to an `ERC721APIResponse` object containing the approval status.
application/json
get
GET //erc721/{tokenId}/getApproved HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to an ERC721APIResponse object containing the approval status.

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