mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 04:55:48 +00:00 
			
		
		
		
	Add include_deleted param to ledger_entry API (#2725)
				
					
				
			* add nfts_by_issuer data type * update HISTORY.md * update HISTORY.md * added to index and change field name * change to added in history * reformat change in history * reformat history on bfts_by_issuer * add include_deleted field * update history * fix an error in histroy * changed comments --------- Authored-by: Kassaking <kassaking7@gmail.com>
This commit is contained in:
		@@ -14,6 +14,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
 | 
			
		||||
 | 
			
		||||
### Added
 | 
			
		||||
* Add `nfts_by_issuer` clio-only API definition
 | 
			
		||||
* Add `include_deleted` to ledgerEntry request and `deleted_ledger_index` to ledgerEntry response
 | 
			
		||||
* Support for the `fixPreviousTxnID` amendment.
 | 
			
		||||
* Support for the user version of the `feature` RPC.
 | 
			
		||||
* Add `hash` field to `ledger` command response
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,14 @@ export interface LedgerEntryRequest extends BaseRequest, LookupByLedgerRequest {
 | 
			
		||||
      issuer?: string
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * (Optional) If set to true and the queried object has been deleted,
 | 
			
		||||
   * return its complete data prior to its deletion.
 | 
			
		||||
   * If set to false or not provided and the queried object has been deleted,
 | 
			
		||||
   * return objectNotFound (current behavior).
 | 
			
		||||
   * This parameter is supported only by Clio servers
 | 
			
		||||
   */
 | 
			
		||||
  include_deleted?: boolean
 | 
			
		||||
  /**
 | 
			
		||||
   * If true, return the requested ledger object's contents as a hex string in
 | 
			
		||||
   * the XRP Ledger's binary format. Otherwise, return data in JSON format. The
 | 
			
		||||
@@ -204,5 +211,9 @@ export interface LedgerEntryResponse<T = LedgerEntry> extends BaseResponse {
 | 
			
		||||
    /** The binary representation of the ledger object, as hexadecimal. */
 | 
			
		||||
    node_binary?: string
 | 
			
		||||
    validated?: boolean
 | 
			
		||||
    /**
 | 
			
		||||
     * (Optional) Indicates the ledger index at which the object was deleted.
 | 
			
		||||
     */
 | 
			
		||||
    deleted_ledger_index?: number
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user