Skip to main content

Returns metadata about an output by its identifier.

GET 

/api/core/v2/outputs/:outputId/metadata

Returns metadata about an output by its identifier.

Request

Path Parameters

    outputId stringrequired

    Identifier of the output encoded in hex. An output is identified by the concatenation of transactionId+outputIndex. Hex-encoded with 0x prefix.

    Example: 0xfa0de75d225cca2799395e5fc340702fc7eac821d2bdd79911126f131ae097a20100

Responses

Successful operation.

Schema
    blockId stringrequired

    The block identifier that references the output. Hex-encoded with 0x prefix.

    transactionId stringrequired

    The identifier of the transaction. Hex-encoded with 0x prefix.

    outputIndex integerrequired

    The index of the output.

    isSpent booleanrequired

    Tells if the output is spent or not.

    milestoneIndexSpent integer

    The milestone index at which this output was spent.

    milestoneTimestampSpent integer

    The milestone timestamp this output was spent.

    transactionIdSpent string

    The transaction this output was spent with. Hex-encoded with 0x prefix.

    milestoneIndexBooked integerrequired

    The milestone index at which the output was booked.

    milestoneTimestampBooked integerrequired

    The milestone unix timestamp at which the output was booked.

    ledgerIndex integerrequired

    The current ledger index for which the request was made.

Loading...