I send some msg to smart contract by "await client.sendExternalMessage(wallet, transfer)" on typescript.
I can`t get any error message, but state is not changed according my desire
How can i get error message?
Jan 12, 2023, 11:41 AM
I send some msg to smart contract by "await client.sendExternalMessage(wallet, transfer)" on typescript.
I can`t get any error message, but state is not changed according my desire
How can i get error message or transaction id or the result of (success or failure)?
I can`t get any error message, but state is not changed according my desire
How can i get error message or transaction id or the result of (success or failure)?
Jan 12, 2023, 11:58 AM
If external message failed then there's no place to look its transaction ID, as this message "never existed".
Maybe, you should try another library, that will return you the server's response.
Maybe, you should try another library, that will return you the server's response.
Jan 12, 2023, 12:15 PM
This is my tx
https://tonscan.org/address/EQA6lau-KEykQMbog-5s8x93KhDkIzfB2nYEA8GGMWccplDp
You can see error code 14 on last tx
Could you explain about 14?
Jan 12, 2023, 12:17 PM
Exit code -14 means that there is not enough gas (in this tx, even to launch TVM).
Jan 12, 2023, 12:17 PM
How can I get description about errors
like as url?
Jan 12, 2023, 12:18 PM
https://ton.org/docs/learn/tvm-instructions/tvm-exit-codes
Jan 12, 2023, 12:18 PM
thank you!
Jan 12, 2023, 12:19 PM