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

How to get pending transactions by this framework #36

Closed
skywinder opened this issue Sep 16, 2018 · 20 comments
Closed

How to get pending transactions by this framework #36

skywinder opened this issue Sep 16, 2018 · 20 comments
Labels
enhancement New feature or request

Comments

@skywinder
Copy link
Collaborator

From @tiantianyuan on September 11, 2018 10:13

hello,
Is there any functions to get pending transactions list likes https://web3py.readthedocs.io/en/stable/web3.txpool.html

Copied from original issue: BANKEX/web3swift#222

@shamatar
Copy link
Contributor

Unfortunately functions for monitoring of the memory pull are not yet implemented, as Infura does not expose such API, so it was not a priority. I'll put it into the work

@shamatar shamatar added the enhancement New feature or request label Sep 18, 2018
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.6 ETH (134.75 USD @ $224.58/ETH) attached to it.

@gitcoinbot
Copy link

gitcoinbot commented Oct 6, 2018

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 6 months, 4 weeks from now.
Please review their action plans below:

1) currybab has been approved to start work.

At first, i will understand how this function in web3.py works. And then I will check how web3swift written.
I will write my code for function. After all, check my code with issuer.

Learn more on the Gitcoin Issue Details page.

@vs77bb
Copy link

vs77bb commented Oct 8, 2018

@currybab You've been approved! Please let us know how this goes and happy hacking 🎃

@gitcoinbot
Copy link

@currybab Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@currybab
Copy link
Contributor

currybab commented Oct 9, 2018

@vs77bb I checked Infura's API Docs. But they do not support txpool(INFURA/infura#55).
I will start work with local node at first.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.6 ETH (118.49 USD @ $197.48/ETH) has been submitted by:

  1. @currybab

@vs77bb please take a look at the submitted work:


@rmshea
Copy link

rmshea commented Oct 15, 2018

@vs77bb looks like @currybab has done some great work to be looked at :)

@BaldyAsh
Copy link
Collaborator

@currybab hi! You've done the great job! Did you received coins?

@currybab
Copy link
Contributor

@BaldyAsh Not yet

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 0.6 ETH (122.72 USD @ $204.53/ETH) attached to this issue has been approved & issued to @currybab.

1 similar comment
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 0.6 ETH (122.72 USD @ $204.53/ETH) attached to this issue has been approved & issued to @currybab.

@vs77bb
Copy link

vs77bb commented Oct 25, 2018

@BaldyAsh @currybab The coins have been sent! Let me know if you have any questions / issues and happy Hacktober 🎃

@BaldyAsh
Copy link
Collaborator

@currybab if everything is ok I'll close this issue

@currybab
Copy link
Contributor

I received it. Thank you! Good luck with your project~

@BaldyAsh
Copy link
Collaborator

Happy hacktoberfesting! 🎃

@santteegt
Copy link

Hi,

Does this functionality is still not working when using Infura? Any plans to implement a WebsocketProvider, or the subscribe method to get pendingTransactions such as in web3js?

const web3 = new Web3(new Web3.providers.WebsocketProvider('wss://rinkeby.infura.io/ws'))

  // Instantiate subscription object
  const subscription = web3.eth.subscribe('pendingTransactions')

  // Subscribe to pending transactions
  subscription.subscribe((error, result) => {
    if (error) console.log(error)
  })
  .on('data', async (txHash) => {

@BaldyAsh
Copy link
Collaborator

@santteegt yes, I'll add websockets and subscribing for pending txs in issues list

@barrasso
Copy link
Contributor

barrasso commented Apr 1, 2019

@BaldyAsh +1 Please add this to the issues list so I can put a bounty on it 🙏🏼

@BaldyAsh
Copy link
Collaborator

BaldyAsh commented Apr 1, 2019

@barrasso sure, added and started working on it
#145

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

No branches or pull requests

9 participants