How To Add and Edit DeFi Transactions

Learn how to add and edit decentralized finance (DeFi) transactions in TokenTax in order to report your DeFi taxes.

TokenTax supports most common Decentralized Finance (DeFi) protocols and platforms automatically, but you may need to also manually edit or import transactions for DeFi, particularly for platforms not automatically supported by TokenTax.

To add DeFi transactions:

  1. Add your Ethereum wallets via the TokenTax wallet import. Listed on this import page is all DeFi platforms that we import transactions for automatically.

  2. If you used DeFi platforms not on this list, you'll need to manually add or edit transactions to incorporate your activity.

Unsupported DeFi transactions are typically imported as deposits or withdrawals. Deposits and withdrawals are not factored into your tax calculations; they are effectively placeholders.

See below how to add specific transactions or edit existing deposits/withdrawals. Note that automatically supported platforms are used in the example transactions, but you shouldn't need to manually enter these platforms as they are automatically supported.

With our VIP plan, our team will handle transactions for you for any unsupported DeFi platforms.

I used an unsupported DeFi platform. What transactions do I need to add?

First, we recommend you be familiar with the basics of how cryptocurrency is taxed as well as the core concepts for DeFi crypto taxes. This will help you to understand what transactions need to be accounted for in TokenTax.

You only need to add any taxable transactions for DeFi. These include:

  1. Swaps / trades

  2. Yield farming income

  3. Interest income

  4. Entering or exiting a liquidity pool

  5. Deposits that are a token swap (i.e. ETH -> cETH)

  6. Taking out and repaying a loan.

You don’t need to add the following transactions, as they are not taxable events:

  1. Deposits / withdrawals / transfers (i.e. simply moving assets between your own wallets).

  2. Staking / unstaking, unless you swap into a different token to do so (e.g. swapping out of a liquidity pool).

How to enter transactions from your DeFi platforms

The examples below conform to our manual CSV template, which we recommend use of if you plan to add many transactions. This format also can also be applied to the manual entry page.

If you can also edit existing transactions directly from the All Transactions page. In this process, formatting principles are largely the same as if you would have added a transaction.

Yield farming income

TokenTax will by default import unsupported yield farming income as deposit transactions. Deposit transactions are not incorporated into tax calculations; they need to be income transactions if they were yield farming.

You can change these deposit transactions to be income as explained in the video below. This will accurately account for your income as well as the cost basis of these assets received.

You can also add yield farming transactions directly (instead of editing the deposits TokenTax imports). You would use the “income” transaction type for tokens sent to your wallet as rewards for yield farming.

The asset received goes in the buy columns; the sell columns are left blank. If there’s a market price for the asset, TokenTax will automatically get the market value for assets received and fill this out in the sell columns — this establishes cost basis.

Swaps, trades, and purchases

You can edit existing deposit/withdrawals or manually add trades in order to account for unsupported swaps, trades, and purchases. These transactions will look like normal trades. The asset acquired goes in the buy columns, and the asset exchanged away goes in the sell column.

Airdrops

Airdrops are treated the same as income transactions, but they have their own transaction type to help you organize your transactions. 

The asset received goes in the buy columns; the sell columns can be left blank. If there’s a market price, TokenTax will automatically get the market value for assets received.

Deposits where you receive a different token (i.e. ETH -> cETH)

Some DeFi platforms issue tokens representative of your balance. For example, when you deposit ETH into Compound, you receive cETH in return. Likewise, with Aave, you would deposit ETH and receive aETH.

This is a swap of tokens that must be accounted for with a trade transaction. 

Calculate your crypto taxes now

TokenTax does the hard work so you don’t have to.