0

以太坊

 3 years ago
source link: https://learnblockchain.cn/question/1732
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.

5 请问有没有办法能够获得以太坊上的一个地址第一笔交易的块高?

之前是用 Etherscan 的 API 获得的,但是不准确,因为 Etherscan 的 API 返回的是 normal 交易列表,有些交易并不在这列中,比如用户作为 erc721 交易的 to 地址的时候,这笔交易就不包含。
所以请问还有没有其他的好方法能够获得一个账户的起始块高呀,谢谢!

最佳答案 4天前

没有好办法,应该是需要遍历区块,而且这个问题还得看你如何定义账户的第一个块高。

如果账号在合约交易中出现,区块链浏览器中是不一定能够显示的。

Tiny熊 - 布道者
擅长:智能合约,以太坊 | 采纳率 47% | 回答于 5天前

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK