When trying to use a response of getConfirmedSignaturesForAddress2 request for the address it throws java.lang.ClassCastException: com.squareup.moshi.LinkedHashTreeMap cannot be cast to com.solana.models.SignatureInformation
Work Completed
Pass Types.newParameterizedType(List::class.java, SignatureInformation::class.java) to router.request method, to define the type of elements of the list
Description
getConfirmedSignaturesForAddress2
request for the address it throwsjava.lang.ClassCastException: com.squareup.moshi.LinkedHashTreeMap cannot be cast to com.solana.models.SignatureInformation
Work Completed
Types.newParameterizedType(List::class.java, SignatureInformation::class.java)
to router.request method, to define the type of elements of the listTesting