For the complete documentation index, see llms.txt. This page is also available as Markdown.

📦Outputs

post

Retrieve Ordinal details for a specific list of outputs (txid:vout).

Authorizations
x-api-keystringRequired
Body
outputsstring · regex[] · min: 1 · max: 20RequiredExample: ["e79134080a83fe3e0e06ed6990c5a9b63b362313341745707a2bff7d788a1375:0"]
Responses
200

Ordinal information for the requested outputs. Items are positional, aligned with the requested outputs. found: false means the output is unknown to the indexer (invalid outpoint, unconfirmed, or indexing lag) and carries no spent verdict. result is only present for found, unspent outputs

application/json

Ordinal information for the requested outputs. Items are positional, aligned with the requested outputs. found: false means the output is unknown to the indexer (invalid outpoint, unconfirmed, or indexing lag) and carries no spent verdict. result is only present for found, unspent outputs

post/v2/outputs
POST /v2/outputs HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 82

{
  "outputs": [
    "e79134080a83fe3e0e06ed6990c5a9b63b362313341745707a2bff7d788a1375:0"
  ]
}
{
  "items": [
    {
      "txid": "text",
      "vout": 1,
      "found": true,
      "isSpent": true,
      "result": {
        "amount": 1,
        "blockHeight": 1,
        "inscriptions": [
          {
            "contentType": "text",
            "inscriptionId": "text",
            "inscriptionNumber": 1,
            "offset": 1
          }
        ],
        "runes": [
          {
            "runeName": "text",
            "runeId": "text",
            "amount": "text",
            "divisibility": 1,
            "symbol": "text"
          }
        ]
      }
    }
  ]
}

Last updated