EtherScan 或 Etplorer 看不到测试事务



我想获得地址事务列表,正如我所看到的,这只有在手鼓伴奏下才能实现。所以我决定使用一些第三方服务(我认为这对以太坊开发者来说是一种耻辱,但我们已经拥有了(。但这些服务无法在地址上看到交易或余额,甚至无法通过命令显示余额

curl -X POST http://localhost:8545 -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBalance","params":"0xcd88f3430a2e01e61554e655719e0f92d3e1ba37", "pending"],"id":1}'

{"jsonrpc":"2.0","id":1,"result":"0xde0b6b3a7640000"}

(通过goerli发送(

但是当我执行这样的请求时

https://api.etherscan.io/api?module=account&action=txlist&address=0xcd88f3430a2e01e61554e655719e0f92d3e1ba37&sort=asc&apikey=...

我得到

message "No transactions found"

或在上

https://kovan-api.ethplorer.io/getAddressTransactions/0xcd88f3430a2e01e61554e655719e0f92d3e1ba37?apiKey=...
[]

你能向我解释一下发生了什么,以及如何容易地提取地址的交易列表吗。

找到了,需要使用不同的域进行goerli事务

https://api-goerli.etherscan.io/

最新更新