Algodv2 error when calling pendingTransactionInformation

Hi, I’m having trouble using pendingTransactionInformation() method since it’s returning a string.
For example for testnet transaction:

txID = "JLVMNDUL5OSZFZX77ITKADFLB6ELZPULZMBRZQXSCSDRRRA4VBZQ"
await algodclient.pendingTransactionInformation(txIDd).do();

the method is returning:
"g69jb25maXJtZWQtcm91bmTOAKPwNKpwb29sLWVycm9yoKN0eG6Co3NpZ8RA71mFRw2K6pKecw8mLrTQAGOe5E0Sg0JBosmxTAzRStqcEdEbYAyCNpWQKlvOWX4uN52pU7HW8d6Fn55ON9B8DKN0eG6Jo2FtdAOjZmVlzQPoomZ2zgCj8AKjZ2VurHRlc3RuZXQtdjEuMKJnaMQgSGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiKibHbOAKPz6qNyY3bEIPxcnAyqIjnv//oMpP0ohZ8aSJKVQwH5bovHevkrSynso3NuZMQg9kdjaEZdp2KoS2N1pUu9fGD+G1zEKcNIL/MuY+LFuUGkdHlwZaNwYXk="

I created a separate script for debugging purposes, where I instantiate Algodv2 with the same URL and token in which I get a propper object returned when calling the method using the same txID.

Something I noticed is that AlgodClient instance is slighly different there because it has a few functions that are missing in my program - compile(), dryRun(), getApplicationById(), getAsssetById() -
In both cases i get addres: "https://testnet-algorand.api.purestake.io/ps2" when calling versionCheck()

EDIT: SOLVED after upgrading sdk from v1.6 to v.18