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.
Padparameters
inscription_id
tekenreeks
VERPLICHT
Bezig met laden...
Retourzendingen
content
tekenreeks
Bezig met laden...
Verzoek
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 function main() {2const response = await fetch('https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0', {3method: 'GET',4headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}5})6const data = await response.json()7console.log(gegevens)8}910hoofdpagina()
1async function main() {2const response = await fetch('https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0', {3method: 'GET',4headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}5})6const data = await response.json()7console.log(gegevens)8}910hoofdpagina()
1import verzoeken2import json34url = "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0"56kopteksten = {7'Content-Type': 'application/json',8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers)1213afdrukken(reactie.tekst)
1import verzoeken2import json34url = "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0"56kopteksten = {7'Content-Type': 'application/json',8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers)1213afdrukken(reactie.tekst)
1vereisen "uri"2vereisen "json"3vereisen "net/http"45uri = URI("https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0")67request = Net::HTTP::Get.new(uri)8verzoek["Content-Type"] = "application/json"9request["Accept"] = "application/json"1011antwoord = Netto::HTTP.start(uri.host, uri.poort, use_ssl: true) do |http|12http.verzoek(verzoek)13einde1415geeft het antwoord weer.body
1vereisen "uri"2vereisen "json"3vereisen "net/http"45uri = URI("https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0")67request = Net::HTTP::Get.new(uri)8verzoek["Content-Type"] = "application/json"9request["Accept"] = "application/json"1011antwoord = Netto::HTTP.start(uri.host, uri.poort, use_ssl: true) do |http|12http.verzoek(verzoek)13einde1415geeft het antwoord weer.body
Antwoord
1"800000.bitmap"
1"800000.bitmap"
Heb je nog geen account?
Maak binnen enkele seconden je Quicknode-eindpunt aan en ga aan de slag
Ga gratis aan de slag