Why store data in hex code

+1 vote
Why are we forced to convert all our data into hex code when storing it on multichain? Wouldn't it make more sense to base64 encode it or something to decrease the size of the data instead of increasing it?
asked Jul 12, 2018 by anonymous

1 Answer

+1 vote
Data is not stored in the blockchain in hexadecimal, but rather in efficient raw binary form. MultiChain just uses hexadecimal as a way of passing data in and out of the JSON-RPC API, because JSON is a textual representation of structured data that does not support raw binary.
answered Jul 12, 2018 by MultiChain