defined some of the account / wallet api, does not compile