mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 21:15:47 +00:00
refactor: simplify submit transaction methods (#1725)
* To simplify submit transaction requests by having only one version of them that supports both signed/unsigned transactions, the signed versions of them (submitSigned(), submitSignedReliable()) are deleted. * Their signed logic is merged into submit() and submitAndWait() (renamed from submitReliable()). * Change order of submit method params to be consistent. * Add a SubmitOptions method param to include options for wallet to sign a transaction, and booleans to autofill/failHard a transaction.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user