⌘K

Icon SunFilledIcon MoonStars
Subscriptions

Icon LinkSubscriptions

Icon LinkstatusChange

Returns a stream of TransactionStatus! updates for the given transaction id if the current status is [TransactionStatus::Submitted].

This stream will wait forever so it's advised to use within a timeout. It is possible for the stream to miss an update if it is polled slower then the updates arrive. In such a case the stream will close without a status. If this occurs the stream can simply be restarted to return the latest status.

args:

id: TransactionId!

The id of the transaction to stream status updates for.

Icon LinksubmitAndAwait

Submits transaction to the TxPool and await returns TransactionStatus! .

args:

tx: HexString!

The transaction hex string.