Skip to main content

Subscribe to incoming transactions from the IOTA network.

If no filter is provided, all transactions will be returned.

Stream recovery

When start_after is provided with the digest of the last transaction the client received, the stream resumes from the transaction immediately after it. The identified transaction itself is not emitted.

transactions(
startAfter: String
filter: SubscriptionTransactionFilter
): TransactionBlockSubscriptionPayload!

Arguments​

transactions.startAfter ● String scalar​

transactions.filter ● SubscriptionTransactionFilter input​

Type​

TransactionBlockSubscriptionPayload union​

Possible responses from a subscription.

It could be one of the following:

  • A successful payload from the subscription stream.
  • A notice that the subscription has been lagged behind the network with the number of lost payloads.