ord_getInscriptionsByBlock RPC Method - Ordinals & Runes API
Please note that this method requires the Ordinals & Runes API add-on enabled on your QuickNode endpoint.
Parameters
blockHeight
string
REQUIRED
Loading...
pageIndex
integer
REQUIRED
Loading...
Returns
ids
array
Loading...
more
boolean
Loading...
page
integer
Loading...
Request
curl --location 'https://docs-demo.btc.quiknode.pro/' \ --header 'Content-Type: application/json' \ --data '{ "method": "ord_getInscriptionsByBlock", "params": [ 843263, 0 ], "id": 1, "jsonrpc": "2.0" }'
const myHeaders = new Headers(); myHeaders.append("Content-Type", "application/json"); const raw = JSON.stringify({ "method": "ord_getInscriptionsByBlock", "params": [ 843263, 0 ], "id": 1, "jsonrpc": "2.0" }); const requestOptions = { method: "POST", headers: myHeaders, body: raw, redirect: "follow" }; fetch("https://docs-demo.btc.quiknode.pro/", requestOptions) .then((response) => response.text()) .then((result) => console.log(result)) .catch((error) => console.error(error));
import requests import json url = "https://docs-demo.btc.quiknode.pro/" payload = json.dumps({ "method": "ord_getInscriptionsByBlock", "params": [ 843263, 0 ], "id": 1, "jsonrpc": "2.0" }) headers = { 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text)
require "uri" require "json" require "net/http" url = URI("https://docs-demo.btc.quiknode.pro/") http = Net::HTTP.new(url.host, url.port); request = Net::HTTP::Post.new(url) request["Content-Type"] = "application/json" request.body = JSON.dump({ "method": "ord_getInscriptionsByBlock", "params": [ 843263, 0 ], "id": 1, "jsonrpc": "2.0" }) response = http.request(request) puts response.read_body
Response
{ "id": 1, "result": { "ids": [ "2bd23d64a335a677da5c5d34c47352a9383db51915b0797ea654025d5ef2f3eei0", "be1f28186883fb4335af88feb4b98a049f3ca7dad9af58a7681a5b6aba07a799i0", "07f031086fa48f74d68f73ebdcc08c8fa3ccaed3048511cbfbf683dcee7e4fd7i0", "955e16e25e821c6c0a0343d361b912779cd252181e319c5dd236cbb54d512fc6i0", "1d900e323122d63c8215c3c7cdc196a96c8ebb500c47faee1dc4aa16d1c8359ci0", "55bb0d22825a8b09280343f619bb05167c173a1d318b725c90d18204955cf90bi0", "520b18f309b10ee52f359647f5c143615636d27a7c972101a71f2f4e67e3f51ai0", "26c2745d65c500c59f253a18f64dd25b877a10d2e375fc4fc8e3ef3d3aeb243ei0", "448b44e0ebacb83b8a95ae3826198952219d6f717453b1a063a9e67a3d3cc15bi0", "bac4463febf9c0867ea7553629cb65012743d09f80a83dff2c282993273b6ba3i0", "77d144eaea1b9037aafb42a8a016a8d32b27bf5c37139c5ac7772663540eb5c2i0", "cc7cae7c87bec7a5ed17ddf95b046ed3e64de6d5eb0d782f912960f5cf8b5206i0", "7879e66524b103e69d0547cfaaccbb752836fa123db896265b4fb2a0c9e900fbi0", "d2ca85fe9c1c4083db2f2915e861261c53f68103e75684d96ecaaa5aa658a2e0i0", "9fb2de11f0e34105e648a6c2f27a8694ab91779a94da2c61355408f75cf4845fi0", "a860baeecae8c2d9fb95f09608d3b3e2bbaf207f25a6361e0d07a326906f8be6i0", "6f9edfe43d5340e57b3bbc297c4fcaa4dc7badf1727cf55b435b03134ef00c80i0", "9e90ff746f05332ee9d94c47e8fe9b74565b5eaa523dd7b3909b8f863bb6b428i0", "a70384d1a52297674f5bde25c1f448380a186abc3d5aaa67aebff91fb50074bdi0", "08689a186bf432a4cde4b92e90fa8b2a92e926fca3a82644d6ec8d942390b9b6i0", "5f9e8a9b83db488886891b0b231e7b8363397d120b800a3813d8e7ab1ca9fa52i0", "f8432649e37cc72a85ffce8982803c2eb58a49f819b209e8e9ae559574e9bfa3i0", "01ab478ef8192bdc67cdc95eccb642962b42d1285680d656e2ddeb9b81b70105i0", "6ad32e1d0b4cc1b73511a461dce64bce06f4aaabe68cf71133aa87b4a1f84b0ci0", "237cbe8279df9ed0e1f8d87470f71e287cb9ecbe1d3d9715af16e9361de37025i0", "f7050b946b0eff86b5c77e7049daf4b44fd3a33f4ea45a17750cb318366a1d34i0", "2d79f7649f891c5d761ccdec608be57ac9ba604ac4f45df23222b7e7d00a7270i0", "e082ac381f683787fdbc0df8e743dee8c0e522501f392389e696328abc5bc570i0", "f0bd4daab63cfdc69c503660d299278f12cdae4f47971f1dffc07c666a831f8di0", "5d8c7c1c5b4472c2e791fabe6039e52db83523be34753583787ac9b1c134e093i0", "51bd73cb70577376baa9e1b5649c840c02b42363ffc478ca51b4809263857daei0", "5450964f7a3077643bcddadf4dc9d56a6c8b1cc7e954e78c43066a45735bf3cai0", "aa127456cf5c9fb6d70eecaa662d1226419de28764c407502e93362647d063d5i0", "4104fe4e30d52d8b583a22aa81cfa9332d2bf1f2f1213526b1648fdbd0bf54aai0", "90ef525e461d094eeaa2b08c90d35198f092217f834ebdc046249f417ee08a49i0", "516e6aa61b329a2c548140eb79b2750d685e940e8ae9979b15386e1f6d4afc11i0", "3d08a82b97ddcb39c06babe7428497412a8a02c389085967650f7134ff75f612i0", "867ef305c811a01f45422b4f20d0a9c2bc8ddf61308483bb3065fbb1f8cdce26i0", "4750786676089b55fdc4dd0a3ffdb748c7e705d2f4b45c233650b014de12be30i0", "bfd93f7ba3704e8c40900a60f44968b7556e01831350bc76a44e4e7758f4e131i0", "c5623b4f937ac0d47df94b9f8e975f4d29545705794866f78b57a96efedff244i0", "b6e444ad9780389d204d6b9ed9f26db5002e570667959dc7edd9fc25fdf18250i0", "704eec69ff63d4eaa0da8358e83204d50c8002b2337fc80de12bd3ab20b6d853i0", "6ff87e42bd4e8ecbd8bef9539f993a68bd3282176c0083ca0275167aa4544e63i0", "e5ba00d90269b55e98addf9cc577c5ee2c00352d641d2c85da10a022d4c0756ai0", "8d40b01e30f6cea29b8010e60b2567078b03a7f502f1cd70ddc0efa3aadd0876i0", "dde5c7d58b011eb59f19befc0d371258fae8a1a4f09c5fda5f1e4e5324dd1d77i0", "1dfb8a2f3120b5873e7b65d371c9d2e597daa54a25c561163a2178a88981e27ci0", "5f3ad0fa9ace68c10e4530f7131d1eb80a997fdabc2413ef168fdba830a21e7di0", "01e69a0e379f89e31ed6845ba8900e74d368301269a71edc7efe27e4da7ef97fi0", "43e061d8ff837f16fc215c4d2697a7fb94a904e3c724ac991aa724a51a638e8ai0", "b69e175ebcd9e1989cc95360fff0bdbb685535e8ddcb50327ec0da6ae848d2b3i0", "d719e2473bfa6ba742e483f371fa4844434de30a354c9058aaa4acf1754052b7i0", "10c60f66ad893e87906d692039ee0f126139fb6a5474ca335a60486d27878ec0i0", "a27256055facd309c55cb01cb086f2535b00b5fe00c7b43524f96baaaee1eec8i0", "a1425a26a177d6e5f530343d854923169be2c740a2894ba7a04c736b7fb8b7dci0", "7e04a49728f702053805bfdb0880fbc6dcb5ea97b3b3a11245918358ea7e98e5i0", "4219d8971632cf755c345009da5bcf1c1b8d21e8cc7efe13120fc384b2d037edi0", "488bff2f45d2000a2a2cb26b822ce55bf7e32f5bd952c7f475a1656b42e152eei0", "78cf3b113b0cf038516769f91135bd89e9190d1c3fcb312c44e149f7cccbbaf2i0", "9f345ec75840eef9016ba08de208f5d876b3bbf17483646e752223c7e52d18f3i0", "6eb755e58a60c6b19d696c16b955002ae18c86ecbbac11fb7721ab3bdf8af7fbi0", "5ef2cb612fba5139aa9a9e9202fcd557cf0d759a443777b57f4ee93a0d7aa3f4i0", "9118e6f2caa8bb28801b1bf2253f493f87ae7edd4cb0b66433a07b988b820d28i0", "0f35f43e37d6a6d9e8df01ff9a448991a8089402eaefe42995e7ee317e0b08cai0", "fe84a839821de92187c2431b5396ecdab56cabc65724becf317478edf1c85318i0", "71883f2d30fcd30790108fe9fa9e55fff398d7142217f10222be97deb43e0337i0", "bd9ad2aaa8dbfbfad8a5fa2f0d9390629827ff3c152d4caadc03dc82bd8bc53di0", "31bd0945774ae414b24142f2a26a6e1bb2a34dad2bcbc64b7b13c3556af5e84bi0", "ae9a2805ff9dc6fc80b51178f321e637367cbb2bebe62b99d40a8b794ee24c51i0", "4ebd4b44b93d38e85402247beda741f6625a4b4efcf0935fd356ce1b5953b65fi0", "ab2b17434af60d6e0ca2968593f263c1fffa40b21e3b663e94b02144b5d02a66i0", "13d1ff65777b482986fab6f1030ff8909d0daf859417fce41a27117d746ded6fi0", "2cac1d1f6025cc90d2c90d0f27769d202c0519799e1f6aceedf0ac1006b418b0i0", "78decf31ef200c31ad9597b4eec0e64fc60a9c5efdcd62d6ae98f2f42b7acae0i0", "68a7fa48d1b86e4a1af389897245a26549cf9727edc6cb3d6a722702b5edd2e5i0", "75e141258b25e910d3501f0c9c14ed1f5c46df4d1e1214532b351aa231af3b84i0", "be23b649236f4f6de2f1a0d4838f51303425c81d2047124ad228ad6d3954e61ai0", "dc644ec1315e912f84efbba01b58646ba618400cd15d1beea59796c7c4528943i0", "2668bfebe98af48bcb99abee2f3e841e0af75f76a5990eaceaf2d7f8b5ada565i0", "485cb23f4cb9ffee2e7e7dd8496535f22f993cffb7cd9da0812a97aa7549be88i0", "d6461434c2ca7199676333b61bd1371693268766de846fafc004c796399d9e94i0", "244ec5e6c38858781a508395957949106953fd3fdd84eb28828ce54198f5bc33i0" ], "more": false, "page_index": 0 }, "jsonrpc": "2.0" }
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free