Skip to main content

GraphQlTransactionSubscriptionProtocol

GraphQlTransactionSubscriptionProtocol​

protocol GraphQlTransactionSubscriptionProtocol : AnyObject, Sendable

A live subscription.

Call next in a loop to receive updates. It returns None once cancel has been called. If the indexer requires a newer SDK, next raises that error and the subscription ends: later calls return None. The subscription never ends otherwise.