Extend swap stat rpcs to include burned fee #2329
Labels
good first issue
Good for newcomers
improvement: RPC
priority: high
Important tasks that need attention soon.
Currently swap stat rpcs: my_recent_swaps active_swaps swap_status for swpa V2 taker data do not include the burned part of dex fee (but only dex fee).
However taker user may be interested in getting total spent fee in the swap statistics rpcs.
This is related to TPU (V2) swaps.
Info for fixing: add a property like Option<burn_dex_fee> to MySwapForRpc and extend SELECT_MY_SWAP_V2_FOR_RPC_BY_UUID query
The text was updated successfully, but these errors were encountered: