atomicDEX-API icon indicating copy to clipboard operation
atomicDEX-API copied to clipboard

Extend swap stat rpcs to include burned fee

Open dimxy opened this issue 11 months ago • 0 comments

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

dimxy avatar Jan 27 '25 11:01 dimxy