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

Evmos: EVM tx support #3

Open
Errorist79 opened this issue Nov 27, 2022 · 1 comment
Open

Evmos: EVM tx support #3

Errorist79 opened this issue Nov 27, 2022 · 1 comment

Comments

@Errorist79
Copy link
Member

No description provided.

@berzanorg
Copy link
Contributor

We will use JSON RPC providers for this use case. When info about an EVM tx is requested, we will make a eth_getTransactionByHash request and get block height from the response. Block height will be used to get a list of transactions at that block. And we will try to find a Cosmos tx that matches. When we find one, everything will be done similar to how we do for Cosmos txs. Ex: curl https://eth.bd.evmos.org:8545/ -X POST -H "Content-Type:application/json" --data '{"method":"eth_getTransactionByHash","params":["0x1de597d422add3efcec6a774cd06cd6b6a3f058da2890e637055699cbfb455de"],"id":1,"jsonrpc":"2.0"}'

@Errorist79 Errorist79 reopened this Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants