ऑर्डिनल्स एक्सप्लोरर
The ord
binary includes a block explorer. We host an instance of the block explorer on mainnet at ordinals.com, on signet at signet.ordinals.com, and on testnet at testnet.ordinals.com. As of version 0.16.0 the wallet needs ord server
running in the background. This is analogous to how bitcoin-cli
needs bitcoind
running in the background.
एक्सप्लोरर संचालन
सर्वर स्थानीय रूप से निम्न के साथ चलाया जा सकता है:
ऑर्ड सर्वर
पोर्ट निर्दिष्ट करने के लिए --http-port
फ़्लैग टाइप करें:
ऑर्ड सर्वर --http-port 8080`
The JSON-API endpoints are enabled by default, to disable them add the --disable-json-api
flag (see here for more info):
ord server --disable-json-api
सर्च (तलाश करें)
सर्च बॉक्स विभिन्न प्रकार के ऑब्जेक्ट अभ्यावेदन स्वीकार करता है।
ब्लॉक्स
ब्लॉक्स हैश के माध्यम से सर्च किए जा सकता हैं, इसका उदाहरण, जेनेसिस ब्लॉक है:
000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
लेनदेन
लेनदेन हैश द्वारा सर्च किए जा सकते हैं, उदाहरण के लिए, जेनेसिस ब्लॉक कॉइनबेस लेनदेन:
4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
आउटपुट
Transaction outputs can be searched by outpoint, for example, the only output of the genesis block coinbase transaction:
4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0
सैट्स
सैट्स इंटेगर (पूर्णांक) द्वारा खोजे जा सकते हैं, संपूर्ण बिटकॉइन आपूर्ति के भीतर उनकी स्थिति में:
दशमलव द्वारा द्वारा खोजे जा सकते हैं, उनके ब्लॉक और उस ब्लॉक के भीतर ऑफसेट (प्रतिसंतुलित) कर:
डिग्री, उसके चक्र, अंतिम कठिन समायोजन के बाद से अंतिम पड़ाव के बाद ब्लॉक द्वारा, और उनके ब्लॉक के भीतर ऑफसेट (प्रतिसंतुलित) कर:
नाम द्वारा, "a" से "z" उनके मूल 26 अक्षरों के प्रतिनिधित्व का उपयोग करके:
या प्रतिशतक द्वारा, बिटकॉइन खनन के समय जारी किये गये या जारी की जाने वाली बिटकॉइन की आपूर्ति के अनुरूप की जाएगी:
JSON-API
By default the ord server
gives access to endpoints that return JSON instead of HTML if you set the HTTP Accept: application/json
header. The structure of these objects closely follows what is shown in the HTML. These endpoints are:
/inscription/<INSCRIPTION_ID>
/inscriptions
/inscriptions/block/<BLOCK_HEIGHT>
/inscriptions/block/<BLOCK_HEIGHT>/<PAGE_INDEX>
/inscriptions/<FROM>
/inscriptions/<FROM>/<N>
/output/<OUTPOINT>
/sat/<SAT>
To get a list of the latest 100 inscriptions you would do:
curl -s -H "Accept: application/json" 'http://0.0.0.0:80/inscriptions'
To see information about a UTXO, which includes inscriptions inside it, do:
curl -s -H "Accept: application/json" 'http://0.0.0.0:80/output/bc4c30829a9564c0d58e6287195622b53ced54a25711d1b86be7cd3a70ef61ed:0'
Which returns:
{
"value": 10000,
"script_pubkey": "OP_PUSHNUM_1 OP_PUSHBYTES_32 156cc4878306157720607cdcb4b32afa4cc6853868458d7258b907112e5a434b",
"address": "bc1pz4kvfpurqc2hwgrq0nwtfve2lfxvdpfcdpzc6ujchyr3ztj6gd9sfr6ayf",
"transaction": "bc4c30829a9564c0d58e6287195622b53ced54a25711d1b86be7cd3a70ef61ed",
"sat_ranges": null,
"inscriptions": [
"6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0"
]
}