mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 21:15:47 +00:00
Add transaction hash to ledger command response (#2717)
* add transaction hash to ledger command response * Update packages/xrpl/src/models/ledger/Ledger.ts * Update HISTORY.md * delete unnesessary space
This commit is contained in:
@@ -12,6 +12,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
|
|||||||
* Add `nfts_by_issuer` clio-only API definition
|
* Add `nfts_by_issuer` clio-only API definition
|
||||||
* Support for the `fixPreviousTxnID` amendment.
|
* Support for the `fixPreviousTxnID` amendment.
|
||||||
* Support for the user version of the `feature` RPC.
|
* Support for the user version of the `feature` RPC.
|
||||||
|
* Add `hash` field to `ledger` command response
|
||||||
|
|
||||||
## 3.1.0 (2024-06-03)
|
## 3.1.0 (2024-06-03)
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,12 @@ interface BaseLedger {
|
|||||||
* either JSON or binary depending on whether the request specified binary
|
* either JSON or binary depending on whether the request specified binary
|
||||||
* as true.
|
* as true.
|
||||||
*/
|
*/
|
||||||
transactions?: Array<Transaction & { metaData?: TransactionMetadata }>
|
transactions?: Array<
|
||||||
|
Transaction & {
|
||||||
|
hash: string
|
||||||
|
metaData?: TransactionMetadata
|
||||||
|
}
|
||||||
|
>
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user