POST
/
transaction
/
decode
Decode Transaction
curl --request POST \
  --url https://xbt-mainnet.gomaestro-api.org/v0/rpc/transaction/decode \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '"<string>"'
{
  "data": {
    "hash": "<string>",
    "hex": "<string>",
    "locktime": 123,
    "size": 123,
    "txid": "<string>",
    "version": 123,
    "vin": [
      {
        "coinbase": "<string>",
        "scriptSig": {
          "asm": "<string>",
          "hex": "<string>"
        },
        "sequence": 123,
        "txid": "<string>",
        "txinwitness": [
          "<string>"
        ],
        "vout": 123
      }
    ],
    "vout": [
      {
        "n": 123,
        "scriptPubKey": {
          "address": "<string>",
          "asm": "<string>",
          "desc": "<string>",
          "hex": "<string>",
          "type": "<string>"
        },
        "value": 123
      }
    ],
    "vsize": 123,
    "weight": 123
  },
  "last_updated": {
    "block_hash": "<string>",
    "block_height": 123
  }
}

Authorizations

api-key
string
header
required

Project API Key

Body

application/json · string

Raw Transaction Hex.

The body is of type string.

Response

200
application/json

OK

The response is of type object.