Skip to main content
GET
/
mempool
/
transactions
/
{tx_hash}
/
metaprotocols
Transaction Info with Metaprotocols (Mempool-aware)
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/mempool/transactions/{tx_hash}/metaprotocols \
  --header 'api-key: <api-key>'
import requests

url = "https://xbt-mainnet.gomaestro-api.org/v0/mempool/transactions/{tx_hash}/metaprotocols"

headers = {"api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'api-key': '<api-key>'}};

fetch('https://xbt-mainnet.gomaestro-api.org/v0/mempool/transactions/{tx_hash}/metaprotocols', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://xbt-mainnet.gomaestro-api.org/v0/mempool/transactions/{tx_hash}/metaprotocols",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

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

func main() {

url := "https://xbt-mainnet.gomaestro-api.org/v0/mempool/transactions/{tx_hash}/metaprotocols"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://xbt-mainnet.gomaestro-api.org/v0/mempool/transactions/{tx_hash}/metaprotocols")
.header("api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://xbt-mainnet.gomaestro-api.org/v0/mempool/transactions/{tx_hash}/metaprotocols")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "data": {
    "fees": "508",
    "height": 900962,
    "inputs": [
      {
        "address": "bc1qyvtvxfyz60mmudgsmtxxpf22jl040ejmpj5mqnwv9lwr30jzmygqhr9tv8",
        "inscriptions": [],
        "runes": [],
        "satoshis": "3666696",
        "script_pubkey": "00202316c32482d3f7be3510dacc60a54a97df57e65b0ca9b04dcc2fdc38be42d910",
        "txid": "ed6273c6ff9259ec6a68dff0b21ddc4499e2e6d9837981f8c5089ac4935f6cf5",
        "vout": 0
      },
      {
        "address": "bc1pn2w92qyh7mwpf9rzmnvjnc0whswft243n0ntj50lurpnsjwwfy9sjur75v",
        "inscriptions": [],
        "runes": [],
        "satoshis": "600",
        "script_pubkey": "51209a9c550097f6dc149462dcd929e1eebc1c95aab19be6b951ffe0c33849ce490b",
        "txid": "a115a1818805fa06a80eaa57287c0c3f57d5993c1f0d3f771523b4d11711d31f",
        "vout": 1
      }
    ],
    "metaprotocols": [
      "runes"
    ],
    "outputs": [
      {
        "address": null,
        "inscriptions": [],
        "runes": [],
        "satoshis": "0",
        "script_pubkey": "6a5d0b00c0a23303ffbedbb50201",
        "spending_tx": null
      },
      {
        "address": "bc1pdruptufwh9awfepzq506kh03392lk074n4a5cy3v8zu0ma0sjvtqhwdu85",
        "inscriptions": [],
        "runes": [],
        "satoshis": "546",
        "script_pubkey": "512068f815f12eb97ae4e422051fab5df18955fb3fd59d7b4c122c38b8fdf5f09316",
        "spending_tx": null
      },
      {
        "address": "bc1qyvtvxfyz60mmudgsmtxxpf22jl040ejmpj5mqnwv9lwr30jzmygqhr9tv8",
        "inscriptions": [],
        "runes": [],
        "satoshis": "3641305",
        "script_pubkey": "00202316c32482d3f7be3510dacc60a54a97df57e65b0ca9b04dcc2fdc38be42d910",
        "spending_tx": null
      },
      {
        "address": "bc1qp8j9sx6609h7llqufurxjgrwsqwt020tqzn0gs",
        "inscriptions": [],
        "runes": [],
        "satoshis": "580",
        "script_pubkey": "001409e4581b5a796feffc1c4f0669206e801cb7a9eb",
        "spending_tx": null
      },
      {
        "address": "bc1qqx7h6wrl52hxwqnp8v8k072ahnr3sq8huzynww",
        "inscriptions": [],
        "runes": [],
        "satoshis": "24357",
        "script_pubkey": "001401bd7d387fa2ae6702613b0f67f95dbcc71800f7",
        "spending_tx": null
      }
    ],
    "sats_per_vb": 2,
    "volume": "3666788"
  },
  "indexer_info": {
    "chain_tip": {
      "block_hash": "0000000000000000000148c7dbf4f8721db8912485cc6860e5b22f9b62e09870",
      "block_height": 900961
    },
    "estimated_blocks": [
      {
        "block_height": 900962,
        "sats_per_vb": {
          "max": 101,
          "median": 4,
          "min": 2
        }
      }
    ],
    "mempool_timestamp": "2025-06-12 17:27:29"
  }
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

tx_hash
string
required

Transaction hash

Response

Requested data

data
object
required
indexer_info
object
required