Skip to main content

qn_fetchNFTCollectionDetails (v2) RPC Method

Returns collection details for specified contracts.

Updated on
Nov 2, 2023

qn_fetchNFTCollectionDetails (v2) RPC Method

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

Parameters

array
array
An array with the first element being:
object
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

Returns

object
object
The custom response object, or null if no NFT Collections are found:
name
The name of this collection
address
The checked contract address
description
The description of this NFT collection
erc721
Boolean (true,false)
erc1155
Boolean (true,false)
genesisBlock
The block in which this contract was deployed
genesisTransaction
The hash of the transaction in which this contract was deployed
totalSupply
The total supply of the collection
circulatingSupply
The circulating supply of the collection
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"id":67,
6
"jsonrpc":"2.0",
7
"method":"qn_fetchNFTCollectionDetails",
8
"params": [{
9
"contracts": [
10
"0x60E4d786628Fea6478F785A6d7e704777c86a7c6",
11
"0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7"
12
]
13
}]
14
}'
15
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free