Skip to main content
Version: IOTA

Listen to MQTT

EXPLANATION: Outputs

You can learn more about Outputs in the Messages, Payloads and Transactions section.

IOTA node(s) provide a Message Queuing Telemetry Transport (MQTT) layer, if enabled, which is a lightweight publish-subscribe network protocol that provides information about events that are being triggered by the IOTA network.

The iota.rs client library supports asynchronous event listeners that can be listened to, and continuously receive MQTT events based on a topic, which can be:

  • milestones/latest
  • milestones/confirmed
  • messages
  • messages/referenced
  • messages/indexation/{index}
  • messages/{messageId}/metadata
  • transactions/{transactionId}/included-message
  • outputs/{outputId}
  • addresses/{address}/outputs
  • addresses/ed25519/{address}/outputs
bindings/java/examples/java-app/src/main/java/org/iota/client/example/ExampleApp.java
loading...