Skip to main content

ord_getInscriptionsByBlock RPC Method

Gets the inscriptions in a block by passing a block height (paginated)

Updated on
May 17, 2024

ord_getInscriptionsByBlock RPC Method

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

Parameters

blockHeight
string
REQUIRED
The height of the block for which the inscriptions is to be fetched
pageIndex
integer
REQUIRED
The index of the page of results you want to retrieve

Returns

ids
array
An array containing Inscription IDs. Each ID represents a specific Inscription
more
boolean
A boolean value indicating whether there are more pages of Inscriptions available
page
integer
The current page index of the Inscriptions
Request
1
curl --location 'https://docs-demo.btc.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "ord_getInscriptionsByBlock",
5
"params": [
6
843263,
7
0
8
],
9
"id": 1,
10
"jsonrpc": "2.0"
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free