Rich details

Get transaction with enriched input information when node indexes are enabled.

GEThttps://alephium.nownodes.io/transactions/rich-details/{txId}
Path parameters
txId*string (32-byte-hash)
Query parameters
Response

Ok

Body
unsigned*RichUnsignedTx
scriptExecutionOk*boolean
contractInputs*array of RichContractInput
generatedOutputs*array of Output
inputSignatures*array of string (hex-string)
scriptSignatures*array of string (hex-string)
Request
const response = await fetch('https://alephium.nownodes.io/transactions/rich-details/{txId}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "unsigned": {
    "txId": "text",
    "version": 0,
    "networkId": 0,
    "scriptOpt": "text",
    "gasAmount": 0,
    "gasPrice": "text",
    "inputs": [
      {
        "hint": 0,
        "key": "text",
        "unlockScript": "text",
        "attoAlphAmount": "text",
        "address": "text",
        "tokens": [
          {
            "id": "text",
            "amount": "text"
          }
        ]
      }
    ],
    "fixedOutputs": [
      {
        "hint": 0,
        "key": "text",
        "attoAlphAmount": "text",
        "address": "text",
        "tokens": [
          {
            "id": "text",
            "amount": "text"
          }
        ],
        "lockTime": 0,
        "message": "text"
      }
    ]
  },
  "scriptExecutionOk": false,
  "contractInputs": [
    {
      "hint": 0,
      "key": "text",
      "attoAlphAmount": "text",
      "address": "text",
      "tokens": [
        {
          "id": "text",
          "amount": "text"
        }
      ]
    }
  ],
  "generatedOutputs": [
    {
      "hint": 0,
      "key": "text",
      "attoAlphAmount": "text",
      "address": "text",
      "tokens": [
        {
          "id": "text",
          "amount": "text"
        }
      ],
      "lockTime": 0,
      "message": "text",
      "type": "text"
    }
  ],
  "inputSignatures": [
    "text"
  ],
  "scriptSignatures": [
    "text"
  ]
}