GET /content/{inscription_id} - Ordinals REST API
Please note that this REST method requires the Ordinals & Runes API add-on enabled on your Quicknode endpoint.
Pfadparameter
inscription_id
Zeichenkette
ERFORDERLICH
Wird geladen...
Rücksendungen
content
Zeichenkette
Wird geladen...
Anfrage
1curl -X GET "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0" \2-H "Content-Type: application/json" \3-H "Accept: application/json"
1curl -X GET "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0" \2-H "Content-Type: application/json" \3-H "Accept: application/json"
1async Funktion main() {2const response = await fetch('https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0', {3Methode: 'GET',4headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}5})6const Daten = await Antwort.json()7Konsole.Protokoll(Daten)8}910Hauptseite()
1async Funktion main() {2const response = await fetch('https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0', {3Methode: 'GET',4headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}5})6const Daten = await Antwort.json()7Konsole.Protokoll(Daten)8}910Hauptseite()
1import Anfragen2import json34url = "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0"56Überschriften = {7„Content-Type“: 'application/json',8„Akzeptieren“: 'application/json'9}1011Antwort = Anfragen.Anfrage("GET", URL, headers=headers)1213Drucken(Antwort.text)
1import Anfragen2import json34url = "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0"56Überschriften = {7„Content-Type“: 'application/json',8„Akzeptieren“: 'application/json'9}1011Antwort = Anfragen.Anfrage("GET", URL, headers=headers)1213Drucken(Antwort.text)
1require "uri"2require "json"3require „net/http“45uri = URI("https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0")67Anfrage = Netto::HTTP::Get.new(uri)8Anfrage[„Content-Type“] = „application/json“9Anfrage[„Akzeptieren“] = „application/json“1011Antwort = Netto::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|12http.Anfrage(Anfrage)13Ende1415gibt die Antwort aus.Hauptteil
1require "uri"2require "json"3require „net/http“45uri = URI("https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0")67Anfrage = Netto::HTTP::Get.new(uri)8Anfrage[„Content-Type“] = „application/json“9Anfrage[„Akzeptieren“] = „application/json“1011Antwort = Netto::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|12http.Anfrage(Anfrage)13Ende1415gibt die Antwort aus.Hauptteil
Antwort
1"800000.bitmap"
1"800000.bitmap"
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen