Replaced id by message. Added support for latest block hash.
add currency field to serialization