Add transaction id to response of getTransaction and getTransactions

This commit is contained in:
Chris Clark
2015-07-15 13:57:00 -07:00
parent 77a05c1881
commit fa9e1de4df
3 changed files with 4 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ function parseTransaction(tx: Object): Object {
return utils.removeUndefined({
type: type,
address: tx.Account,
id: tx.hash,
specification: utils.removeUndefined(specification),
outcome: outcome ? utils.removeUndefined(outcome) : undefined
});