Currently, the transaction builders need a provider when building transaction and the build method is async.
We should refactor the transaction builders and try to make the build method sync. The estimation or assemble should happen separately and build should finalize the tx and sign it. We could explore the api and expose ways to manually set required fields or estimate them using the node.
Currently, the transaction builders need a provider when building transaction and the
buildmethod isasync.We should refactor the transaction builders and try to make the
buildmethod sync. The estimation or assemble should happen separately andbuildshould finalize the tx and sign it. We could explore the api and expose ways to manually set required fields or estimate them using the node.