I am building an API that will send out signed transactions to users and allow them to submit the transactions themselves.
I am attempting to send a user three different transactions however I would like the user to select between these options and select only one.
Question is; once the user submits one of these transactions, how do I prevent the others being sent?
I was attempting to use sequence numbers to prevent this but cannot figure out how to assign the same sequence id to all transactions on the javascript SDK so that only one is accepted.
Is there a better way to do this and if not how can I set the sequence number with the JS-sdk?