Transaction

Fetch detailed information about a serialized transaction

Retrieves the transaction struct data for a given serialized transaction from the Nimiq RPC.

GET
/getRawTransactionInfo/{rawTx}
/getRawTransactionInfo/{rawTx}

Path Parameters

rawTx
Required
string

The serialized transaction string.

curl -X GET "https://api.nimiqhub.com/getRawTransactionInfo/string"

Transaction information retrieved successfully

{
  "data": {
    "hash": "5bc67e298130bcd458bdbb3c066aa334e9b89514c5179c278ecac36de7843b87",
    "size": 139,
    "relatedAddresses": [
      "NQ34 248H 248H 248H 248H 248H 248H 248H 248H",
      "NQ17 D2ES UBTP N14D RG4E 2KBK 217A 2GH2 NNY1"
    ],
    "from": "NQ17 D2ES UBTP N14D RG4E 2KBK 217A 2GH2 NNY1",
    "fromType": 0,
    "to": "NQ34 248H 248H 248H 248H 248H 248H 248H 248H",
    "toType": 0,
    "value": 100000000,
    "fee": 138,
    "senderData": "",
    "recipientData": "",
    "flags": 0,
    "validityStartHeight": 100000,
    "proof": "003b6a27bcceb6a42d62a3a8d02a6f0d73653215771de243a63ac048a18b59da2900e97d14e5ab8b9e9b71f7d2952457810ff5c8c762ab92dded852eb915ed38e1f0c1332abced2a6dec66cc4cbfd025de9609712582872f94eabc67644b4d4f360e",
    "networkId": 5
  },
  "metadata": null
}