Skip to main content
All CollectionsReviewing your DataTransactions Stage
How can I merge a deposit and withdrawal transaction into a trade?
How can I merge a deposit and withdrawal transaction into a trade?

Merge transactions together to represent a a trade or self transfers between your own wallets

Benjamin Yoder avatar
Written by Benjamin Yoder
Updated over 2 months ago

If you're someone who interacts with blockchain technology on a regular basis, there's a good chance that you've bought, sold or traded crypto on an exchange which exports incomplete transaction data to apps like CoinLedger. Fortunately, we have solution to this-read more about how to merge transactions in CoinLedger below!

Merging Transactions

CoinLedger allows users to merge transactions together into:

  • Trades: Exchanging one crypto asset for another.

  • Transfers:Transfer transactions are non-taxable self transfers from one wallet or exchange account you own to another wallet or exchange account you own.

  • Bridges: Transferring the same asset from one blockchain to another. Ex: sending ETH on Coinbase to your Arbitrum address on 1inch. (see instructions for this process HERE)

In most cases, trades and transfers will be correctly classified in CoinLedger automatically and no manual classification will be required. However, some blockchains or exchanges send CoinLedger incomplete transaction history data, which will cause trades to get imported into CoinLedger as two separate transactions (a deposit and withdrawal). This can also happen with transfer transactions. While this is not the fault of CoinLedger, our software does offer a solution to these problems!

Merging Transactions Into a Trade

If a trade was incorrectly imported into CoinLedger as two separate transactions, such as a deposit and withdrawal, you can merge those transactions to apply the correct cost basis to that asset on your account.

For example:

  • Let's say you purchased ETH using USD via PayPal in your MetaMask wallet.

  • However, this transaction was imported into CoinLedger as two separate transactions:

    • A withdrawal of USD from PayPal

    • A deposit of ETH into your MetaMask account

  • This isn't a fault with CoinLedger, but is due to the complexity of importing transactions from services such as MetaMask which use fiat on-ramps to allow customers to purchase crypto using fiat.

Here's the solution:

Step 1

First, head to the Transactions step of the CoinLedger app. Then, locate the withdrawal and deposit transactions in question.

Step 2

Mark the two transactions as shown below, and then select Merge.

Finally, select Trade. This will create one trade transaction.

πŸ’‘ Tip: You may have to add fees to the transaction if they aren't already included.

Merging Transactions Into a Transfer

Using CoinLedger's merge tool, you can also merge two self transfers together into a single Transfer transaction. This is useful if you want to represent a transfer from one wallet or exchange account you own to another wallet or exchange account you own in CoinLedger.

For example, sending Bitcoin from your Coinbase account to your MetaMask wallet would be a self transfer; however, it will get imported into CoinLedger as two separate transactions: one withdrawal and one deposit transaction.

While self transfers are non-taxable transactions and won't impact your tax report, having the ability to merge deposits and withdrawals together as Transfers ensures that your transactions are properly represented in your CoinLedger account's interface.

Here's how:

Step 1

From the Transactions page, locate a set of corresponding deposit and withdrawal transactions. These are the two transactions you'll merge into a Transfer.

For example: let's say that back in 2021 I sent 0.244 LTC from my Coinbase account to my Crypto.com account. This single action gets imported into CoinLedger as two separate transactions: one, a withdrawal of LTC from Coinbase, and another, a deposit of LTC into Crypto.com. If I want to merge these transactions into a single Transfer transaction, I'll first need to locate them on the Transactions page.

Here are those two transactions located in my CoinLedger account:

Step 2

Once you have located the deposit and withdrawal transactions needed to make a single Transfer transaction, mark the two transactions as shown below, and then select Merge from the pop-up menu at the bottom of your screen.
​

Step 3

Finally, press Transfer.

Now, my deposit and withdrawal transactions have been merged into a single Transfer transaction.

Did this answer your question?