Closed alienzhangyw closed 1 year ago
After looking into your code, I find a solution by adding the keepTxID: true
option. Then the response will be like [txID, []]
.
Maybe you should update the docs at https://tronweb.network/docu/docs/API%20List/contract/method.send
Yes, you are right. We need to update the doc.
I'm using tronweb on browser with TronLink. when the transaction is sent and been confirmed on chain, the txID I received is just an empty array. Why? And I think your docs about return values should be clearer. Or you should write this library in TypeScript.