Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any functions to get pending transactions list #28

Closed
tiantianyuan opened this issue Sep 12, 2018 · 3 comments
Closed

Is there any functions to get pending transactions list #28

tiantianyuan opened this issue Sep 12, 2018 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@tiantianyuan
Copy link

tiantianyuan commented Sep 12, 2018

hello,
I want to check the transactions is in pending,is there any functions to get pending transactions list likes python supportted https://web3py.readthedocs.io/en/stable/web3.txpool.html

or is there any way to check the tx_hash is in pending?

@shamatar
Copy link
Contributor

shamatar commented Sep 14, 2018 via email

@skywinder skywinder added question Further information is requested enhancement New feature or request labels Sep 17, 2018
@skywinder
Copy link
Collaborator

Monitoring of transaction satus could be useful feature.
Probably we can do a convenience method like:

enum TxStatus {
  case Completed
  case Rejected
  case Pending
}
func checkTransacion(timeout : Int , repeat_interval :Int) -> (TxStatus) {
    ...
}

TxStatus - could be enum with options: Completed,

@BaldyAsh
Copy link
Collaborator

Solved in #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants