You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suggest adding custom features to Gson for LocalDateTime and LocalDate #18
Since use com.google.gson.Gson to parse the json of Etherscan's api response.
However the error will appear: io.api.etherscan.error.ParseException: Unable to make field private final java.time.LocalDate java.time.LocalDateTime.date accessible: module java.base does not "opens java.time" to unnamed module @38d8f54a
The reason is at:
io.api.etherscan.core.impl.BasicProvider
Activity
GoodforGod commentedon Mar 8, 2022
Hello, thanks for the issue, I will look into it and thanks for the details and provided code!
GoodforGod commentedon Mar 8, 2022
Can you please tell what is endpoint/method library fails and what JDK version you used?
marklee1972 commentedon Mar 8, 2022
Yep
JDK JavaSE-1.8(jdk17.0.1)
Both MAINNET and ROPSTEN are the same error.
When querying for a transaction, it happens.
List tx = api.account().txs(ADDRESS);
GoodforGod commentedon Mar 8, 2022
Thanks for the info! Investigating and will release fix soon as possible