Function toTransfer

Convert backend API result to library result object to return in Client.transfer method and toTransfers function