Fix LedgerResponseExpanded
type for ledger
RPC in APIv2
#2886
Labels
LedgerResponseExpanded
type for ledger
RPC in APIv2
#2886
Context
ledger
RPC responses withtransactions
andexpand
options enabled are structurally different between APIv1 and APIv2 in thetransactions
array:For example:
v1:
v2:
To Do
The
LedgerResponseExpanded
defined here:https://github.com/XRPLF/xrpl.js/blob/main/packages/xrpl/src/models/methods/ledger.ts#L291-L295
should be updated to reflect the changes in v2 (such as the new field
tx_json
, renaming ofmetaData
tometa
, etc.The text was updated successfully, but these errors were encountered: