kadena.js
kadena.js copied to clipboard
[@kadena/client] Add submitAndPoll and/or submitAndListen
Please confirm the following:
- [X] I have read the Code of Conduct
- [X] The feature was not suggested before
Is your feature request related to a problem?
Currently you need to call both submit and poll.
Describe the solution you'd like
Add submitAndPoll and/or submitAndListen to submit a transaction and wait for the result in one go.
Describe alternatives you've considered
No response
Do you have any additional context?
No response
Participation
- [X] I am willing to submit a pull request for this feature request.
This issue is stale because it is open for 60 days with no activity
part of client-utils https://github.com/kadena-community/kadena.js/blob/main/packages/libs/client-utils/src/core/submit-and-listen.ts