例如:
https://etherscan.io/address/0x4e646a576917a6a47d5b0896c3e207693870869d#internaltx
如果我调用的api地址与以下地址相同:
http://api.etherscan.io/api?module=account&action=txlistinternal&address=0x4e646a576917a6a47d5b0896c3e207693870869d&startblock=0&endblock=2702578&sort=asc&apikey=YourApiKeyToken
并得到以下答复:
{"status":"0","message":"No transactions found","result":[]}这包含一些内部事务,但etherscan没有显示它们。原因何在?
提前谢谢。
发布于 2018-05-25 08:28:14
endBlock参数为2702578,在发生任何内部事务之前。
把它改为9999999,它就能工作了。
发布于 2020-05-10 17:05:23
试试这个:
https://api.etherscan.io/api?module=account&action=txlistinternal&txhash={txHash}&apikey={apiKey}您需要注册并生成一个api密钥。使用testnet。使用下列格式
https://{testnet}.etherscan.io/api?module=account&action=txlistinternal&txhash={txHash}&apikey={apiKey}测试值可以是ropstan、rinkeby、kovan等。
https://ethereum.stackexchange.com/questions/44045
复制相似问题