简体   繁体   English

如何通过RPC获取以太坊内部交易清单/合约交易清单?

[英]How to get Ethereum internal transaction list / contract transaction list by RPC?

How to get Ethereum internal transaction list / contract transaction list by RPC ? 如何通过RPC获取以太坊内部交易清单/合约交易清单?

Contract: 0xa5025faba6e70b84f74e9b1113e5f7f4e7f4859f How to get the contract address transaction list by RPC ? 合同:0xa5025faba6e70b84f74e9b1113e5f7f4e7f4859f如何通过RPC获取合同地址交易清单?

enter image description here 在此处输入图片说明

What you are trying to do is iterate through the blockchain and check each transaction in each block for a transaction that you are describing. 您想要做的是遍历区块链,并检查每个块中的每个事务以了解您所描述的事务。 While this will work (with a bit of code), you are better off reading the data from an existing block explorer. 尽管这可以工作(使用一些代码),但是最好从现有的块浏览器中读取数据。 By doing it on your own, you will be creating a limited-functionality block explorer, when you should be using other resources. 当您应该使用其他资源时,通过自己完成操作,您将创建一个功能有限的块浏览器。

Take a look at the Etherscan APIs , as they contain all the data you need. 看一下Etherscan API ,因为它们包含了您需要的所有数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM