Wait or not wait for transaction receipt, that is the question
When a transaction is submitted into the blockchain, the async response is not taken into account here and here. Several scenarios can occur:
- Fast response if occurs an error
- Slow response if the transaction is pending and a block is not mined.
Moreover, it is necessary to verify if this function can block/memory leak in any situation. This concern is due to when a pending transaction is officially submitted into the blockchain, a log appears in the console.