How to check if txn is failed or succeed?? #373
-
how do i check if txn failed or succeed?? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This returns the transaction details with the reason of failure A side note: I suspect you are using the legacy TS SDK version - you might want to start using the new version https://aptos.dev/en/build/sdks/ts-sdk |
Beta Was this translation helpful? Give feedback.
-
Alright, how can i get account with this lib Here - Account.fromPrivateKey({ privateKey: ??}), |
Beta Was this translation helpful? Give feedback.
This returns the transaction details with the reason of failure
A side note: I suspect you are using the legacy TS SDK version - you might want to start using the new version https://aptos.dev/en/build/sdks/ts-sdk