mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Add transaction id to response of getTransaction and getTransactions
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user