When using moralis sync extra zeroes from address(0x00000000000000000000000030ed5a086d3392e5080187c7303102ad32793594) are removed
Now Iām using streams api and storing it in db,how do correctly format the address
can you give an example of input and output that you expect?
input 0x00000000000000000000000030ed5a086d3392e5080187c7303102ad32793594
output 0x30ed5a086d3392e5080187c7303102ad32793594
currently doing string.slice(-41) and concat wit 0x.
that should be the correct way to do it, an address has a length of 42 with that 0x prefix