I have a smart contract call and I am trying to monitor the event, but I got an empty logs of the transaction receipt
First: You could check is the transaction ended without error
second: define an event in contract and then wherever you want that log to appear, call it in your functions.
A transaction's receipt is only generated if the transaction ends in success. If the transaction ran out of gas or threw an exception, the receipt will not be generated..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With