This method announces a transaction while waiting for being confirmed by listing to the /confirmed web socket. If an error to the given transaction is sent to the /status web socket, the TransactionStatusError is raised.
Steps:
It announces the transaction to the TransactionRepository
It calls the IListener's confirmed method waiting for the transaction to be confirmed.
It calls the IListener's status method waiting for an error to occurred.
The observable will resolve the transaction from 2) or it will raise an error from 3).
Signed transaction to be announced.
the web socket listener used to detect confirmed transaction or status errors coming from the catapult server.
This method announces an aggregate bonded transaction while waiting for being added by listing to the /aggregateBondedAdded web socket. If an error to the given transaction is sent to the /status web socket, the TransactionStatusError is raised. is raised.
Steps:
It announceAggregateBonded the transaction to the TransactionRepository
It calls the IListener's aggregateBondedAdded method waiting for the transaction to be confirmed.
It calls the IListener's status method waiting for an error to occurred.
The observable will resolve the transaction from 2) or it will raise an error from 3)
Signed aggregate bonded transaction.
Websocket listener
This method announces an a hash lock transaction followed by a aggregate bonded transaction while waiting for being confirmed by listing to the /confirmed and /aggregateBondedAdded web socket. If a status ws error is sent while processing any of the given transaction the TransactionStatusError is raised.
Announce aggregate bonded transaction with lock fund
Signed hash lock transaction.
Signed aggregate bonded transaction.
Websocket listener
List of transaction hashes.
Generated using TypeDoc
Transaction Service Interface