Adds a buildSync method on TransactionBuilder which can be used to build transactions synchronously. Also adds some transaction constants.
This precedes a change I'm working on for a MultiTransactionBuilder class which checks the size of the transaction when adding instructions. Since currently, txnSize() is async, it makes the fluent interface for the multi builder very cumbersome.
Adds a
buildSync
method onTransactionBuilder
which can be used to build transactions synchronously. Also adds some transaction constants.This precedes a change I'm working on for a
MultiTransactionBuilder
class which checks the size of the transaction when adding instructions. Since currently,txnSize()
is async, it makes the fluent interface for the multi builder very cumbersome.