SendTransactionCallback
public interface SendTransactionCallback
Callback called after submitting a transaction.
Used in send transaction calls sendBtcTransaction and sendEthTransaction on Wallet instance.
Public Method Summary
Type | Method |
---|---|
void | onError(Exception e) This method gets invoked when user's transaction is not succesfully submitted to blockchain. |
void | onSuccess(Transaction transaction) This method gets invoked when user's transaction is succesfully submitted to blockchain. |
Public Methods
onError
public void onError(Exception e)
This method gets invoked when user's transaction is not succesfully submitted to blockchain. See Handling Errors for details.
onSuccess
public void onSuccess(Transaction transaction)
This method gets invoked when user's transaction is succesfully submitted to blockchain.