mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 11:45:49 +00:00
add destination_account field to PathOption(path_find method) (#2160)
* add destination_account field to PathOption(path_find method) * fix field name * Fix grammar in comment * Fix sentence with missing end * Add HISTORY.md --------- Co-authored-by: Jackson Mills <jmills@ripple.com>
This commit is contained in:
@@ -6,6 +6,9 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
|
||||
### Added
|
||||
* Null and undefined values in transactions are now treated as though the field was not passed in.
|
||||
|
||||
### Fixed
|
||||
* Added `destination_amount` to `PathOption` which is returned as part of a `path_find` request
|
||||
|
||||
## 2.7.0 (2023-03-08)
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -63,6 +63,11 @@ interface PathOption {
|
||||
* Destination to receive the desired amount.
|
||||
*/
|
||||
source_amount: Amount
|
||||
/**
|
||||
* Destination Amount that the destination would receive along this path.
|
||||
* If the `send_max` field is set, this field will be set.
|
||||
*/
|
||||
destination_amount?: Amount
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -80,7 +85,7 @@ export interface PathFindResponse extends BaseResponse {
|
||||
alternatives: PathOption[]
|
||||
/** Unique address of the account that would receive a transaction. */
|
||||
destination_account: string
|
||||
/** Currency amount that the destination would receive in a transaction. */
|
||||
/** Currency amount provided in the WebSocket request. */
|
||||
destination_amount: Amount
|
||||
/** Unique address that would send a transaction. */
|
||||
source_account: string
|
||||
|
||||
Reference in New Issue
Block a user