We're now supporting Polygon zkEVM!
Learn more here.


qn_fetchNFTCollectionDetails (v2) 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.

Please note that this RPC method requires the Token and NFT API v2 bundle add-on enabled on your QuickNode endpoint.


  1. array - An array with the first element being:

    object - A custom object with the following fields:

    contracts - string - An array with the list of NFT contract addresses you'd like to get collection details data from. You may include up to 10 contract addresses per request


  1. object - The custom response object, or null if no NFT Collections are found:

    name - The name of this collection

    description - The description of this NFT collection

    address - The checked contract address

    genesisBlock - The block in which this contract was deployed

    genesisTransaction - The hash of the transaction in which this contract was deployed

    erc721 - Boolean (true,false)

    erc1155 - Boolean (true,false)

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 = Ethereum::HttpClient.new('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/')
response = client.send_command('qn_fetchNFTCollectionDetails', [{
  contracts: [
puts response["result"]
Ready to get started? Create a free account