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
字符串
必填
正在加载...
退货
content
字符串
正在加载...
请求
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}910主()
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}910主()
1导入 请求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)
1导入 请求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"9请求[“接受”] = "application/json"1011回复 = 净::HTTP.start(uri.主机, uri.端口, use_ssl: true) 执行 |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"9请求[“接受”] = "application/json"1011回复 = 净::HTTP.start(uri.主机, uri.端口, use_ssl: true) 执行 |http|12http.请求(请求)13结束1415返回响应.正文
回复
1"800000.bitmap"
1"800000.bitmap"