Skip to main content

Find the metadata of the included message of a transaction.

GET 

/api/v1/transactions/:transactionId/included-message/metadata

Find the metadata of the included message of a transaction.

Request

Path Parameters

    transactionId stringrequired

    Identifier of the transaction to look up.

    Example: af7579fb57746219561072c2cc0e4d0fbb8d493d075bd21bf25ae81a450c11ef

Responses

Successful operation.

Schema
    data objectrequired
    messageId stringrequired

    The identifier of the message.

    parentMessageIds string[]required

    The identifiers of the messages this message references.

    isSolid booleanrequired

    Tells if the message could get solidified by the node or not.

    referencedByMilestoneIndex integernullable

    Tells which milestone references this message. If null the message was not referenced by a milestone yet.

    milestoneIndex integer

    If set, this message can be considered as a valid milestone message. This field therefore describes the milestone index of the involved milestone. A message can be considered as a valid milestone message if the milestone payload is valid and if the referenced parents in the milestone payload do match the referenced parents in the message itself. Note it's possible to have different milestone messages that all represent the same milestone.

    ledgerInclusionState string

    Possible values: [included, conflicting, noTransaction]

    If included, the message contains a transaction that has been included in the ledger. If conflicitng, the message contains a transaction that has not been included in the ledger because it conflicts with another transaction. If the message does not contain a transaction, ledgerInclusionState is set to noTransaction.

    conflictReason integer

    Defines the reason why a message is marked as conflicting. Value 1 denotes that the referenced UTXO was already spent. Value 2denotes that the referenced UTXO was already spent while confirming this milestone. Value 3 denotes that the referenced UTXO cannot be found. Value 4 denotes that the sum of the inputs and output values does not match. Value 5 denotes that the unlock block signature is invalid. Value 6 denotes that the input or output type used is unsupported. Value 7 denotes that the used address type is unsupported. Value 8 denotes that the dust allowance for the address is invalid. Value 9 denotes that the semantic validation failed.

    shouldPromote boolean

    Tells if the message should be promoted to get more likely picked up by the Coordinator.

    shouldReattach boolean

    Tells if the message should be reattached.

Loading...