coinbase / mesh-ethereum

Ethereum Mesh API Implementation
Apache License 2.0
102 stars 70 forks source link

Implement mempool endpoint #71

Closed shrimalmadhur closed 2 years ago

shrimalmadhur commented 2 years ago

Is your feature request related to a problem? Please describe. It doesn't support querying tx pool

Describe the solution you'd like Implement rosetta mempool endpoint

shrimalmadhur commented 2 years ago

@thepabloaguilar you can work on these if you want. You will need to use some eth rpc endpoint to query txs and then parse it using how existing txs are parsed. You might be able to use a lot of existing code for parsing. Here's some documentation for mempool endpoint https://www.rosetta-api.org/docs/MempoolApi.html . If you want to know more about this project please checkout https://www.rosetta-api.org/ and let me know if you have any questions.

thepabloaguilar commented 2 years ago

@shrimalmadhur, great I'll work on this tonight!

thepabloaguilar commented 2 years ago

Ok, got it! I've implemented the /mempool endpoint Is this issue about /mempool only or /mempool/transaction too?

shrimalmadhur commented 2 years ago

@thepabloaguilar you can also go ahead and implement /mempool/transaction if you would like. :)

thepabloaguilar commented 2 years ago

Yeah, I've created #91 to track it!