Method
parseTransfer
(transfer, currency = undefined)
Source from the content-addressed store, hash-verified
| 2941 | return this.parseTransfer(data); |
| 2942 | } |
| 2943 | parseTransfer(transfer, currency = undefined) { |
| 2944 | // |
| 2945 | // { |
| 2946 | // "success": true, |
| 2947 | // "data": { |
| 2948 | // "success": true, |
| 2949 | // "error": null |
| 2950 | // }, |
| 2951 | // "error": null, |
| 2952 | // "code": null |
| 2953 | // } |
| 2954 | // |
| 2955 | return { |
| 2956 | 'info': transfer, |
| 2957 | 'id': undefined, |
| 2958 | 'timestamp': undefined, |
| 2959 | 'datetime': undefined, |
| 2960 | 'currency': undefined, |
| 2961 | 'amount': undefined, |
| 2962 | 'fromAccount': undefined, |
| 2963 | 'toAccount': undefined, |
| 2964 | 'status': 'ok', |
| 2965 | }; |
| 2966 | } |
| 2967 | /** |
| 2968 | * @method |
| 2969 | * @name pacifica#createSubAccount |
Tested by
no test coverage detected