qn_fetchNFTCollectionDetails RPC Method
Please note that this RPC method supports ERC-721 and ERC-1155 compliant contracts (on Ethereum mainnet). We are in the process of deprecating V1 and strongly encourage all developers to migrate to our NFT and Token API v2 bundle for improved functionalities and broader chain compatibility.
Parameters
object
array
The 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
Returns
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)
Request
1curl https://docs-demo.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4-H "x-qn-api-version: 1" \5--data '{6"id":67,7"jsonrpc":"2.0",8"method":"qn_fetchNFTCollectionDetails",9"params":{10"contracts": [11"0x60E4d786628Fea6478F785A6d7e704777c86a7c6",12"0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7"13]14}15}'16
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free