Details

Get transaction details

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

Ok

Body
unsigned*UnsignedTx
scriptExecutionOk*boolean
contractInputs*array of OutputRef
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/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": [
      {
        "outputRef": {
          "hint": 0,
          "key": "text"
        },
        "unlockScript": "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"
    }
  ],
  "generatedOutputs": [
    {
      "hint": 0,
      "key": "text",
      "attoAlphAmount": "text",
      "address": "text",
      "tokens": [
        {
          "id": "text",
          "amount": "text"
        }
      ],
      "lockTime": 0,
      "message": "text",
      "type": "text"
    }
  ],
  "inputSignatures": [
    "text"
  ],
  "scriptSignatures": [
    "text"
  ]
}