I was using this Moralis Web3 on accounts change function (Moralis.Web3.onAccountsChanged) in my code but I noticed the account returned by this function is always lowercase for some reason, which breaks my code.
Ex.
0xb3B104B80F75Ac649983915b9581A90987e95b7F (actual address)
0xb3b104b80f75ac649983915b9581a90987e95b7f (moralis returned address)
All Moralis addresses are lower case, read docs: https://docs.moralis.io/moralis-server/real-time-transactions#address-casing
ahh okay thanks for the clarification!
1 Like