Get inscription content

Retrieves the content of a single inscription.

GET
/ordinals/v1/inscriptions/{id}/content

Path Parameters

idInscription Identifier

Inscription unique identifier (number or ID)

Response Body

Default Response

TypeScript Definitions

Use the response body type in TypeScript.

Empty Object

Default Response

TypeScript Definitions

Use the response body type in TypeScript.

errorstring
Value in"Not found"
curl -X GET "https://api.hiro.so//ordinals/v1/inscriptions/38c46a8bf7ec90bc7f6b797e7dc84baa97f4e5fd4286b92fe1b50176d03b18dci0/content"
fetch("https://api.hiro.so//ordinals/v1/inscriptions/38c46a8bf7ec90bc7f6b797e7dc84baa97f4e5fd4286b92fe1b50176d03b18dci0/content")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.hiro.so//ordinals/v1/inscriptions/38c46a8bf7ec90bc7f6b797e7dc84baa97f4e5fd4286b92fe1b50176d03b18dci0/content"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.hiro.so//ordinals/v1/inscriptions/38c46a8bf7ec90bc7f6b797e7dc84baa97f4e5fd4286b92fe1b50176d03b18dci0/content"

response = requests.request("GET", url)

print(response.text)
{}
{
  "error": "Not found"
}