Transaction history and adapted to the new api changes.
[Refactoring]Move openwallet to a service.