Skip to main content

Find an output by its identifier.

GET 

/api/core/v3/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 transactionId+outputIndex where outputIndex needs to be converted to little endian first. Hex-encoded with 0x prefix.

    Example: 0xfa0de75d225cca2799395e5fc340702fc7eac821d2bdd79911126f131ae097a20100

Responses

Successful operation.

Schema
    output object required
    anyOf
    type integerrequired

    Set to value 0 to denote a Basic Output.

    amount stringrequired

    The amount of IOTA tokens to deposit with this BasicOutput output. Plain string encoded number.

    mana stringrequired

    The stored mana held by the output.

    unlockConditions object[]

    Unlock conditions that define how the output can be unlocked in a transaction.

  • Array [
  • anyOf
    type integerrequired

    Set to value 0 to denote an Address Unlock Condition.

    address object required
    oneOf
    type integerrequired

    Set to value 0 to denote an Ed25519 Address.

    pubKeyHash stringrequired

    The hex-encoded, 0x prefixed BLAKE2b-256 hash of the Ed25519 public key

  • ]
  • features object[]

    The features on the output

  • Array [
  • anyOf
    type integerrequired

    Set to value 0 to denote a Sender Feature.

    address object required
    oneOf
    type integerrequired

    Set to value 0 to denote an Ed25519 Address.

    pubKeyHash stringrequired

    The hex-encoded, 0x prefixed BLAKE2b-256 hash of the Ed25519 public key

  • ]
  • outputIdProof OutputIdProofrequired

    The proof of the output identifier.

    slot integerrequired

    The slot index of the output.

    outputIndex integerrequired

    The index of the output within the corresponding transaction.

    transactionCommitment stringrequired

    The commitment of the transaction that created the output. Hex-encoded with 0x prefix.

    outputCommitmentProof object required

    The proof of the output commitment. Hex-encoded with 0x prefix.

    anyOf
    type integerrequired

    Set to value 0 to denote a Hashable Node.

    l object

    The left node. Hex-encoded with 0x prefix.

    anyOf
    type integerrequired

    Set to value 1 to denote a Leaf Hash.

    hash stringrequired

    The hash of a leaf in the tree. Hex-encoded with 0x prefix.

    r object

    The right node. Hex-encoded with 0x prefix.

    anyOf
    type integerrequired

    Set to value 1 to denote a Leaf Hash.

    hash stringrequired

    The hash of a leaf in the tree. Hex-encoded with 0x prefix.

Loading...