This forum is a read-only archive. Posting, replying and signing in are disabled.

When I submit a transaction what is the most efficient way to make sure it is settled on the blockchain?

jacalf

When I submit a transaction what is the most efficient way to verify and make sure it is settled on the blockchain?

✔ Solved by Ben in post #2
Ben

You can make a rest call to the /v2/transactions/pending/{txid} endpoint with your transaction id

There are methods on the SDK clients to make this easier, usually named something like waitForConfirmation(client, txid, rounds)

If confirmed-round is >0, the transaction has been settled, otherwise pool-error will be set if there was an issue.

Ben