0

内部交易

 3 years ago
source link: https://learnblockchain.cn/question/2389
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

5 以太坊浏览器里面的内部交易,是如何获取到的?

研究了一下,貌似没有方法可以直接获取到内部交易。我还有个问题,我想获取一个区块中所有的ETH交易,是不是只能一个一个transactions去遍历?有没有办法可以直接获取到一整个区块中的交易?

最佳答案 2021-07-31 20:16

内部交易 并不是一个真实的交易,仅是一状态的变化,etherscan 使用了经过修改后的节点,来获取这些数据。 我查资料说可以使用debug_traceTransaction 来获取到内部交易,不过我也没有试过。

例外,遍历 transactions 不就是直接的方法么?

Tiny熊 - 布道者
擅长:智能合约,以太坊 | 采纳率 39% | 回答于 2021-07-31 08:33

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK