If my understanding is correct, createandsendtransaction
is used for sending PRVs from one account to another. It is different than createandsendtxwithprvtradereq
, which is used to exchange PRV (native token) with privacy tokens (pBTC, etc).
Both return a TxId when the requests are submitted successfully. However, there doesn’t seem to be an API to check whether the transaction submitted by createandsendtransaction
eventually was accepted or not.
For those submitted by createandsendtxwithprvtradereq
, I can use getpdetradestatus
to check if the transaction’s TxId eventually was eventually accepted and included on chain. But it doesn’t seem to understand TxIds created from createandsendtransaction
.
What is the right way of doing this? Any help is greatly appreciated! Thanks!