Rich details

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

get
Path parameters
txIdstring · 32-byte-hashRequired
Query parameters
fromGroupinteger · int32Optional
toGroupinteger · int32Optional
Responses
200
Ok
application/json
get
GET /transactions/rich-details/{txId} HTTP/1.1
Host: alephium.nownodes.io
Accept: */*
{
  "unsigned": {
    "txId": "503bfb16230888af4924aa8f8250d7d348b862e267d75d3147f1998050b6da69",
    "version": 1,
    "networkId": 1,
    "gasAmount": 20000,
    "gasPrice": "100000000000",
    "inputs": [
      {
        "type": "AssetInput",
        "hint": 23412,
        "key": "798e9e137aec7c2d59d9655b4ffa640f301f628bf7c365083bb255f6aa5f89ef",
        "unlockScript": "00d1b70d2226308b46da297486adb6b4f1a8c1842cb159ac5ec04f384fe2d6f5da28",
        "attoAlphAmount": "1000000000000000000",
        "address": "1AujpupFP4KWeZvqA7itsHY9cLJmx4qTzojVZrg8W9y",
        "tokens": [
          {
            "id": "2d11fd6c12435ffb07aaed4d190a505b621b927a5f6e51b61ce0ebe186397bdd",
            "amount": "42000000000000000000"
          },
          {
            "id": "bd165d20bd063c7a023d22232a1e75bf46e904067f92b49323fe89fa0fd586bf",
            "amount": "1000000000000000000000"
          }
        ]
      }
    ],
    "fixedOutputs": [
      {
        "hint": 1,
        "key": "798e9e137aec7c2d59d9655b4ffa640f301f628bf7c365083bb255f6aa5f89ef",
        "attoAlphAmount": "2000000000000000000",
        "address": "1AujpupFP4KWeZvqA7itsHY9cLJmx4qTzojVZrg8W9y",
        "tokens": [
          {
            "id": "2d11fd6c12435ffb07aaed4d190a505b621b927a5f6e51b61ce0ebe186397bdd",
            "amount": "42000000000000000000"
          },
          {
            "id": "bd165d20bd063c7a023d22232a1e75bf46e904067f92b49323fe89fa0fd586bf",
            "amount": "1000000000000000000000"
          }
        ],
        "lockTime": 1611041396892,
        "message": "798e9e137aec7c2d59d9655b4ffa640f301f628bf7c365083bb255f6aa5f89ef"
      }
    ]
  },
  "scriptExecutionOk": true,
  "contractInputs": [],
  "generatedOutputs": [
    {
      "type": "ContractOutput",
      "hint": 1,
      "key": "798e9e137aec7c2d59d9655b4ffa640f301f628bf7c365083bb255f6aa5f89ef",
      "attoAlphAmount": "2000000000000000000",
      "address": "uomjgUz6D4tLejTkQtbNJMY8apAjTm1bgQf7em1wDV7S",
      "tokens": [
        {
          "id": "2d11fd6c12435ffb07aaed4d190a505b621b927a5f6e51b61ce0ebe186397bdd",
          "amount": "42000000000000000000"
        },
        {
          "id": "bd165d20bd063c7a023d22232a1e75bf46e904067f92b49323fe89fa0fd586bf",
          "amount": "1000000000000000000000"
        }
      ]
    }
  ],
  "inputSignatures": [
    "9e1a35b2931bd04e6780d01c36e3e5337941aa80f173cfe4f4e249c44ab135272b834c1a639db9c89d673a8a30524042b0469672ca845458a5a0cf2cad53221b"
  ],
  "scriptSignatures": [
    "9e1a35b2931bd04e6780d01c36e3e5337941aa80f173cfe4f4e249c44ab135272b834c1a639db9c89d673a8a30524042b0469672ca845458a5a0cf2cad53221b"
  ]
}

Revision created

GitBook: No commit message