How to confirm that a transaction was successful?

When I try to send a smart contract transaction using sendSmartContractTransaction and I get a successful result. But when I check etherscan for the transaction hash, it says pending. How do I confirm if the transaction was completed successfully by the blockchain or if it failed? When I use the Samsung Blockchain wallet app, it indicated that the transaction is ‘sending’ until the transaction is completed. How do I achieve this visa platform SDK?

Samsung Blockchain Platform SDK provides you the transaction hash. It will create a hash and upload the transaction to the blockchain network. So you need to handle the checking of transaction status.

Read the following conversation, this will help you to understand the procedure. This conversation is for Ethereum.

Also, check the EtherScan API. Using EtherScan API is easy and reliable.

Hope this will help you to cover up your desire feature.