On a Smart Contract called "mem" there is a function called "get()" that returns a bytes32 that is supposed to be a string. How can I decode the string? The result is an hex value. I have tried toString() on geth console, but I am probably doing something wrong...
mem.get(); "0x4d61726b65745061792e696f206973206465706c6f79696e6720536d61727420" mem.get().toString(); "0x4d61726b65745061792e696f206973206465706c6f79696e6720536d61727420" mem.get().toString('hex'); "0x4d61726b65745061792e696f206973206465706c6f79696e6720536d61727420"