Skip to main content

ord_getCollections RPC Method

Fetches a list of collection (paginated).

Updated on
May 17, 2024

ord_getCollections RPC Method

Please note that this method requires the Ordinals & Runes API add-on enabled on your QuickNode endpoint.

Parameters

pageIndex
integer
The index of the page of results you want to retrieve

Returns

result
string
Returns the list of collections in the form of HTML
Request
1
curl --location 'https://docs-demo.btc.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "ord_getCollections",
5
"params": [
6
2
7
],
8
"id": 1,
9
"jsonrpc": "2.0"
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free