Metadata
Returns metadata about 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.
application/json
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}/metadata HTTP/1.1
Host: iota.nownodes.io
Accept: */*
{
"blockId": "0x9cd745ef6800c8e8c80b09174ee4b250b3c43dfa62d7c6a4e61f848febf731a0",
"transactionId": "0x1ee46e19f4219ee65afc10227d0ca22753f76ef32d1e922e5cbe3fbc9b5a5298",
"outputIndex": 1,
"isSpent": false,
"milestoneIndexBooked": 1234567,
"milestoneTimestampBooked": 1643207146,
"ledgerIndex": 946704
}