Register and show off your project at Ethereum QuickPitch and win $10,000. Apply now


qn_verifyNFTsOwner RPC method

The API credit value for this method is 4 . To learn more about API credits and each method's value, visit the API Credits page.

Currently supports both ERC-721 and ERC-1155 compliant contracts.


  1. x-qn-api-version — (Integer - optional) Provide an optional request header specifying the QuickNode API version you're targeting. Using this header is recommended as it will become mandatory (required) in the future. Current API version is 1.


  1. string — The wallet address to check for NFTs.
  2. array — List of ERC-721 and/or ERC-1155 NFT contract addresses, suffixed with :tokenId to specify a specific ID. For example, providing the value 0x2106c...7aeaa:1234 will verify ownership of Loopy Donuts' NFT token with ID 1234. You may include up to 20 contract addresses per request.


  1. Object — Custom Response Object:

    owner — The wallet address we checked for NFTs.

    assets — An array of owned NFTs for the the provided wallet, in the same format as the inputted array. If an inputted array isn't returned, then it does not belong to the wallet.

Code Examples:

# The ethereum.rb library does not support including additional request headers, so you won't be able to add the x-qn-api-version header.
require 'ethereum.rb'
client ='')
response = client.send_command(
puts response['result']
Ready to get started? Create a free account