Outputs
Find an output by its identifier.
Path parameters
outputIdstringRequiredExample:
Identifier of the output encoded in hex. An output is identified by the concatenation of transactionId+outputIndex
. Hex-encoded with 0x prefix.
0xfa0de75d225cca2799395e5fc340702fc7eac821d2bdd79911126f131ae097a20100
Responses
200
Successful operation.
400
Unsuccessful operation: indicates that the provided data is invalid.
application/json
403
Unsuccessful operation: indicates that the endpoint is not available for public use.
application/json
404
Unsuccessful operation: indicates that the requested data was not found.
application/json
500
Unsuccessful operation: indicates that an unexpected, internal server error happened which prevented the node from fulfilling the request.
application/json
get
GET /api/core/v2/outputs/{outputId} HTTP/1.1
Host: iota.nownodes.io
Accept: */*
{
"metadata": {
"blockId": "0x9cd745ef6800c8e8c80b09174ee4b250b3c43dfa62d7c6a4e61f848febf731a0",
"transactionId": "0x1ee46e19f4219ee65afc10227d0ca22753f76ef32d1e922e5cbe3fbc9b5a5298",
"outputIndex": 1,
"isSpent": false,
"milestoneIndexBooked": 946699,
"milestoneTimestampBooked": 1643207130,
"ledgerIndex": 946704
},
"output": {
"type": 3,
"amount": "1000",
"unlockConditions": [
{
"type": 0,
"address": {
"type": 0,
"pubKeyHash": "0x8eaf87ac1f52eb05f2c7c0c15502df990a228838dc37bd18de9503d69afd257d"
}
}
]
}
}