I'm trying to convert a hashed block number "30054a" into readable format but I'm getting logs something like this:
For another hashed value:
I'm using the following code on my NodeJS server:
const util = require('ethjs-util'); const value = util.toAscii('30054a'); console.log(value);
I had even tried
toUtf8. I'm using ethjs library.
Where am I wrong?