Skip to main content

ord_getOutput RPC Method

Gets the output for an outpoint.

Updated on
May 17, 2024

ord_getOutput RPC Method

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

Parameters

outpoint
string
REQUIRED
A string representing the outpoint for which you want to retrieve the output

Returns

address
string
The address associated with the output
indexed
boolean
A boolean indicating whether the output is indexed or not
inscriptions
array
An array of inscriptions associated with the output
runes
array
An array of runes associated with the output
sat_ranges
string
Ranges of SATs associated with the output
script_pubkey
string
The script pubkey associated with the output
spent
boolean
A boolean indicating whether the output has been spent or not
transaction
string
The transaction ID associated with the output
value
integer
The value associated with the output
Request
1
curl --location 'https://docs-demo.btc.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "ord_getOutput",
5
"params": [
6
"bc4c30829a9564c0d58e6287195622b53ced54a25711d1b86be7cd3a70ef61ed:0"
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