Skip to main content

ord_getInscription RPC Method

Fetches an inscription by ID.

Updated on
May 17, 2024

ord_getInscription RPC Method

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

Parameters

InscriptionID
string
REQUIRED
The Inscription ID for which the inscription is to be fetched

Returns

address
string
The address associated with the inscription
charms
array
An array of charms associated with the inscription
children
array
An array of the first 4 children's inscription IDs. Each ID represents a specific inscription. To get the full list please use 'ord_getChildren' method
content_length
integer
The length of the content associated with the inscription
content_type
string
The type of content associated with the inscription
effective_content_type
string
The effective type of content associated with the inscription
fee
integer
The fee associated with the inscription
height
integer
The height at which the inscription was made
id
string
The unique identifier of the inscription
next
string
The ID of the next inscription in the sequence
number
integer
The number associated with the inscription
parents
array
An array of parent inscriptions' IDs.
previous
string
The ID of the previous inscription in the sequence
rune
string
The rune associated with the inscription, if any
sat
integer
The SAT value associated with the inscription
satpoint
string
The SAT point associated with the inscription
timestamp
integer
The timestamp of the inscription
value
integer
The value associated with the inscription
Request
1
curl --location 'https://docs-demo.btc.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "ord_getInscription",
5
"params": [
6
"a860baeecae8c2d9fb95f09608d3b3e2bbaf207f25a6361e0d07a326906f8be6i0"
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