Skip to main content

Find an output by its identifier.

GET 

/api/v1/outputs/:outputId

Find 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 transaction_id+output_index.

Responses

Successful operation.

Schema
    data objectrequired
    messageId stringrequired

    The message identifier that references the output.

    transactionId stringrequired

    The identifier of the transaction.

    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.

    transactionIdSpent string

    The transaction this output was spent with.

    output objectrequired
    anyOf
    type integerrequired

    Set to value 0 to denote a SigLockedSingleOutput.

    address objectrequired
    anyOf
    type integerrequired

    Set to value 0 to denote an Ed25519 Address.

    address stringrequired

    The hex-encoded BLAKE2b-256 hash of the Ed25519 public key.

    amount integerrequired

    The amount of tokens to deposit with this SigLockedSingleOutput output.

    ledgerIndex integerrequired

    The current ledger index for which the request was made.

Loading...