[Solved]Cannot convert from bytes to string events of verified contract

I am using the steam service, and I am searching for a particular event named 'TokenMinted` in the given contract, https://goerli.etherscan.io/address/0xd902427571d762115dA3451F655A5AfB2aD74B25#writeProxyContract, the code is verified yet the output coming from the API is in bytes format

Although the event is giving normal string data in etherscan

Hi @Arnab
You can use Moralis.Streams.parsedLogs to decode data from event logs. Check the example in the below docs.

Thanks the query is resolved

1 Like