XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.51k stars 1.46k forks source link

Add AMM volume, rate to `book_changes` command #4952

Open tequdev opened 6 months ago

tequdev commented 6 months ago

Currently, the book_changes command uses only the Offer's execution information.

Including information about the AMM will allow for more detailed tracking of DEX trading volume and rate transitions.

It would be better to add a field specifying the include AMM info in the request parameters.

This improvement does not require an Amendment because only the RPC method is changed.