I am using solana API and as response from getTransaction function I get some data. Generally speaking, I am interested in data filed. Documentation says:
data: - The program input data encoded in a base-58 string.
And here is the problem, I cannot convert this base-58 string, which looks like this 3Bxs43eF7ZuXE46B - to something more readable.
Converting by using some default decoders doesn't work. So, how can I do this?
Solana generally uses the
bs58module, so to decode your string: