How Do You Match a DEX Swap to Its Two Sides in a Ledger?
A decentralized exchange (DEX) swap is a single on-chain transaction that exchanges one token for another, but your ledger needs to record the swap as two separate legs: the disposal of the token you sold and the acquisition of the token you bought. This article explains how to identify and record b