Logo
Covalent API Documentation

getNftApprovals

GET https://api.covalenthq.com/v1/:chainName/nft/approvals/:walletAddress/

Returns: NftApprovalsResponse

{
  "updated_at" : "{{DATETIME}}",
  "chain_id" : "{{INTEGER}}",
  "chain_name" : "{{STRING}}",
  "address" : "{{STRING}}",
  "items" : [ {
    "contract_address" : "{{STRING}}",
    "contract_address_label" : "{{STRING}}",
    "contract_ticker_symbol" : "{{STRING}}",
    "token_balances" : [ {
      "token_id" : "{{STRING}}",
      "token_balance" : "{{STRING}}"
    } ],
    "spenders" : [ {
      "block_height" : "{{INTEGER}}",
      "tx_offset" : "{{INTEGER}}",
      "log_offset" : "{{INTEGER}}",
      "block_signed_at" : "{{DATETIME}}",
      "tx_hash" : "{{STRING}}",
      "spender_address" : "{{STRING}}",
      "spender_address_label" : "{{STRING}}",
      "token_ids_approved" : "{{STRING}}",
      "allowance" : "{{STRING}}"
    } ]
  } ]
}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X GET 'https://api.covalenthq.com/v1/:chainName/nft/approvals/:walletAddress/' -H 'Content-Type: application/json'

ENDPOINTS