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.
경로 매개변수
inscription_id
문자열
필수
로딩 중...
반품
내용
문자열
로딩 중...
요청
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()7콘솔.log(데이터)8}910main()
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()7콘솔.log(데이터)8}910main()
1import 요청2import json34url = "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0"56헤더 = {7'Content-Type': 'application/json',8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers)1213인쇄(응답.text)
1import 요청2import json34url = "https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0"56헤더 = {7'Content-Type': 'application/json',8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers)1213인쇄(응답.text)
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0")67request = Net::HTTP::Get.new(uri)8요청["Content-Type"] = "application/json"9request["Accept"] = "application/json"1011답변 = 순::HTTP.시작(uri.host, uri.port, use_ssl: true) do |http|12http.요청(요청)13끝1415응답을 넣습니다.본문
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.btc.quiknode.pro/content/965f866bf8623bbf956c1b2aeec1efc1ad162fd428ab7fb89f128a0754ebbc32i0")67request = Net::HTTP::Get.new(uri)8요청["Content-Type"] = "application/json"9request["Accept"] = "application/json"1011답변 = 순::HTTP.시작(uri.host, uri.port, use_ssl: true) do |http|12http.요청(요청)13끝1415응답을 넣습니다.본문
답변
1"800000.bitmap"
1"800000.bitmap"