add a function wrapper to the account_info API code
Merge branch 'master' of https://github.com/huanggang/hyd
function wrapper added to the API methods