atomicDEX-API
atomicDEX-API copied to clipboard
Extend swap stat rpcs to include burned fee
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