Insdexer
  • Introduce
  • System Requirements
  • Quick Start
  • Configuration
  • Reference
    • API Reference
      • Inscription
      • Token
      • NFT
      • Market
      • Other
Powered by GitBook
On this page
  • Inscription
  • Inscription Data
  • Latest Inscriptions
  • Transactions
  • Created
  1. Reference
  2. API Reference

Inscription

Inscriptions API

Inscription

GET /inscription

Get specific inscription data.

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description
Optional

<id>

number

ID of inscription.

<tx>

string

Transaction Hash of inscription creation.

Response

{
    "data": {
        "blocknumber": 12031704,
        "event_logs": [],
        "from": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
        "id": 83705317,
        "mime_category": "1",
        "mime_data": "Dragon",
        "mime_type": "",
        "owner": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
        "signature": "eb22c5e28adf024cfee08804c00ddb9ac2973892",
        "timestamp": 1709395063,
        "to": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
        "tx_hash": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
        "tx_index": 4,
        "verified": "1"
    },
    "error_code": 0
}
{
    "error": "not found",
    "error_code": 404
}

Response Data Field

Field
Description
Type
Optional

blocknumber

blocknumber of Inscription creation.

number

event_logs

event logs of marketplace order.

array

from

address from of Inscription creation.

string

id

Inscription ID

number

mime_category

Inscription category

string, values: <null, text, image, transfer, json, invoke>

mime_data

Inscription data

string

mime_type

Inscription display type

string

owner

Inscription owner

string

signature

Inscription signature

string

timestamp

timestamp of creation

number

to

address to of Inscription creation.

string

tx_hash

transaction hash of creation

string

tx_index

transaction index in block of creation

number

verified

verify status of Inscription Indexer

string, values: <waiting, successful, failed>

Inscription Data

GET /inscription/{path}

Same as Inscription

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description

path

string

Inscription ID or Tx

Response

Same as Inscription.

Latest Inscriptions

GET /recent

Get latest Inscriptions List

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description

page

number

page number

Response

Array of Inscription.

{
    "data": [
        {
            "blocknumber": 12031704,
            "event_logs": [],
            "from": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "id": 83705317,
            "mime_category": "1",
            "mime_data": "Dragon",
            "mime_type": "",
            "owner": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "signature": "eb22c5e28adf024cfee08804c00ddb9ac2973892",
            "timestamp": 1709395063,
            "to": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "tx_hash": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
            "tx_index": 4,
            "verified": "1"
        }, {
            ...
        },
        ...
    ],
    "error_code": 0
} 

Transactions

POST /transactions

Inscriptions of specific address.

Headers

Name
Value

Content-Type

application/json

Resquest

Name
Type
Description

address

string

wallet address

page

number

page number

Response

Array of Inscription

{
    "data": [
        {
            "blocknumber": 12031704,
            "event_logs": [],
            "from": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "id": 83705317,
            "mime_category": "1",
            "mime_data": "Dragon",
            "mime_type": "",
            "owner": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "signature": "eb22c5e28adf024cfee08804c00ddb9ac2973892",
            "timestamp": 1709395063,
            "to": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "tx_hash": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
            "tx_index": 4,
            "verified": "1"
        }, {
            ...
        },
        ...
    ],
    "error_code": 0
}

Created

GET /created

Inscription created by specific address.

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

address

string

wallet address

page

number

page number

Response

Array of Inscription

{
    "data": [
        {
            "blocknumber": 12031704,
            "event_logs": [],
            "from": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "id": 83705317,
            "mime_category": "1",
            "mime_data": "Dragon",
            "mime_type": "",
            "owner": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "signature": "eb22c5e28adf024cfee08804c00ddb9ac2973892",
            "timestamp": 1709395063,
            "to": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "tx_hash": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
            "tx_index": 4,
            "verified": "1"
        }, {
            ...
        },
        ...
    ],
    "error_code": 0
}
PreviousAPI ReferenceNextToken

Last updated 1 year ago