You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add output transaction confirmation tracking by setting a provider in the destination asset.
In this case, i.e. the destination asset has a provider, swap.execute() fires the following events:
depositAddress -> fired with the deposit address where a user would transfer the source asset (applies for source pTokensUtxoAsset only);
inputTxBroadcasted -> fired with hash of the transaction initiating the swap when it is broadcasted;
inputTxConfirmed-> fired with hash of the transaction initiating the swap when it is confirmed;
inputTxDetected -> fired with a InnerTransactionStatus object related to the input transaction, when the pNetwork detects the swap request;
outputTxDetected -> fired with a InnerTransactionStatus object related to the output transaction, when the pNetwork builds the output transaction;
outputTxBroadcasted -> fired with a InnerTransactionStatus object related to the output transaction, when the pNetwork broadcasts the output transaction;
outputTxConfirmed -> fired with a InnerTransactionStatus object related to the output transaction, when it is confirmed, only when the destination asset has a provider;