Ich versuche, die Transaktionsanzahl einer Adresse mit der Methode ethGetTransactionCount zu finden, aber sie gibt den Wert 0 zurück. Was ist hier los. Ich verwende Infura Mainnet und Web3j in Maven
/Find the current transaction count/
EthGetTransactionCount txnCount = web3j.ethGetTransactionCount("0xa9e4E3b1DA2462752AeA980698c335E70E9AB26C"
,DefaultBlockParameterName.LATEST).sendAsync().get();
BigInteger nonce = txnCount.getTransactionCount();
System.out.println("Transaction Count "+ nonce);
Von https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransactioncount :
Gibt die Anzahl der Transaktionen zurück, die von einer Adresse gesendet wurden .
Die Adresse 0xa9e4E3b1DA2462752AeA980698c335E70E9AB26C
hat 0 Transaktionen gesendet, also ist das korrekte Ergebnis tatsächlich 0.
rstormsf