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

Implement /mempool/transaction endpoint #91

Open
thepabloaguilar opened this issue Jan 19, 2022 · 3 comments
Open

Implement /mempool/transaction endpoint #91

thepabloaguilar opened this issue Jan 19, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@thepabloaguilar
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently rosetta-ethereum does not support querying transaction in a mempool.

Describe the solution you'd like

Implementation of /mempool/transaction as described here

@thepabloaguilar thepabloaguilar added the enhancement New feature or request label Jan 19, 2022
@viveksb007
Copy link
Contributor

hey @thepabloaguilar
are you currently working on this? If not, I would like to give it a try.
Thanks

@thepabloaguilar
Copy link
Contributor Author

Hey @viveksb007, no I'm not working on this right now! Feel free to get it

@viveksb007
Copy link
Contributor

Hey @shrimalmadhur,
Do transactions in mempool have trace information (can we query debug_traceTransaction for transactions in mempool)?
From the docs it seems like debug_traceTransaction is used to re-run transaction which is already executed. So confirming this part.

In current transaction response, from attribute is filled by obtaining info from trace and put only inside the trace block shown below link. So we have from attribute in transactions in mempool, where should we put this from info if not in trace?

"trace": {
        "from": "0x687422eea2cb73b5d3e242ba5456b782919afc85",
        "gas": "0x4791e",
        "gasUsed": "0x0",
        "input": "0x",
        "output": "0x",
        "time": "13.5µs",
        "to": "0xc662a694fdaa5406a8ee2ca2e94890d58ab578d9",
        "type": "CALL",
        "value": "0xde0b6b3a7640000"
      }

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

No branches or pull requests

2 participants