ord_getOutput RPC Method - Ordinals & Runes API
Please note that this method requires the Ordinals & Runes API add-on enabled on your Quicknode endpoint.
Parameters
outpoint
string
REQUIRED
Loading...
Returns
address
string
Loading...
indexed
boolean
Loading...
inscriptions
array
Loading...
runes
array
Loading...
sat_ranges
string
Loading...
script_pubkey
string
Loading...
spent
boolean
Loading...
transaction
string
Loading...
value
integer
Loading...
Request
1curl --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}'
1curl --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}'
Response
1{2"id": 1,3"result": {4"address": "bc1pz4kvfpurqc2hwgrq0nwtfve2lfxvdpfcdpzc6ujchyr3ztj6gd9sfr6ayf",5"indexed": false,6"inscriptions": [],7"runes": [],8"sat_ranges": null,9"script_pubkey": "OP_PUSHNUM_1 OP_PUSHBYTES_32 156cc4878306157720607cdcb4b32afa4cc6853868458d7258b907112e5a434b",10"spent": true,11"transaction": "bc4c30829a9564c0d58e6287195622b53ced54a25711d1b86be7cd3a70ef61ed",12"value": 1000013},14"jsonrpc": "2.0"15}
1{2"id": 1,3"result": {4"address": "bc1pz4kvfpurqc2hwgrq0nwtfve2lfxvdpfcdpzc6ujchyr3ztj6gd9sfr6ayf",5"indexed": false,6"inscriptions": [],7"runes": [],8"sat_ranges": null,9"script_pubkey": "OP_PUSHNUM_1 OP_PUSHBYTES_32 156cc4878306157720607cdcb4b32afa4cc6853868458d7258b907112e5a434b",10"spent": true,11"transaction": "bc4c30829a9564c0d58e6287195622b53ced54a25711d1b86be7cd3a70ef61ed",12"value": 1000013},14"jsonrpc": "2.0"15}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free