DeFi Tax Accountant: Reconciling LP, Perps and Restaking

A DeFi tax accountant reconciles on-chain activity that tax software cannot classify on its own: liquidity positions, perpetuals, restaking, bridges and wrapped assets across many wallets. The output is a documented cost basis history and completed gain and income figures. In the US the accountant does the reconciliation, and a CPA or enrolled agent files the return.
What a DeFi tax accountant actually does
The IRS treats digital assets as property under Notice 2014-21, so every disposal needs three things: what you received, what the units cost you, and how long you held them. Centralised exchanges supply most of that. DeFi supplies almost none of it.
A wallet records token movements. It does not record what you were doing. The same transfer out of a wallet can be a swap, a deposit into a liquidity pool, collateral posted against a loan, a bridge to another chain, or a payment. Each of those carries a different tax result, and the difference is visible only in the contract that was called and what came back in the same transaction.
What the reconciliation produces
The deliverable is not a spreadsheet of transfers. It is a book: every acquisition with its date, cost and source; every disposal matched to the lots it consumed; income events priced at the moment of receipt; and closing balances that agree with what the chain says you actually hold. From that book the gain and income figures fall out, and Form 8949 and Schedule D can be prepared with something behind each line.
Why a wallet export is not a tax report
An explorer export gives you hashes, tokens and amounts. It does not price anything at the timestamp, does not connect a send in one wallet to the receipt in another, and does not know that the token you received from a pool represents the position you deposited rather than a new asset you bought. Those connections are the work.
Six signs your DeFi activity has outgrown tax software
Software is good at what it can see: exchange APIs, plain sends and simple swaps. It struggles where a transaction's meaning depends on the protocol. These are the patterns that reliably produce wrong figures.
You hold or have held liquidity positions
Concentrated liquidity positions are the hardest common case. A deposit mints a position token, fees accrue inside the position rather than arriving as transfers, rebalances move the range, and the exit returns a different mix of assets than went in. Software often reads the deposit as a disposal at a price it guessed and the exit as a purchase, which breaks the basis chain in both directions. Our Orca Whirlpools tax guide works through one protocol's mechanics in detail.
You trade perpetuals or options on-chain
Perpetual venues settle in margin balances, funding payments and realised profit and loss rather than in the assets you think you are trading. A row-level importer sees hundreds of small credits and debits with no obvious character. The Hyperliquid tax guide shows the shape of that data.
You stake, restake or hold liquid staking tokens
Staking rewards are income when you gain dominion and control over them, per Revenue Ruling 2023-14, and that income becomes the basis of the units received. Liquid staking and restaking add a layer: a receipt token that accrues value without any reward transfer ever landing in your wallet. See the restaking tax guide for how those positions are read.
You bridge or wrap assets across chains
A bridge is one asset leaving a chain and a different token arriving on another. Nothing links the two sides except timing and amount, so an unmatched bridge shows up as a disposal on one chain and a zero basis acquisition on the other. That single pattern manufactures more phantom gain than any other in a DeFi book. The bridged assets guide covers the treatment.
Your report shows gains you cannot explain
Unexplained gain is almost always missing cost basis, not real profit. The fix is tracing, not a bigger tax payment, and the procedure is set out in our guide to fixing missing cost basis. A negative balance in a report is the same signal in a more obvious form: it is impossible, so something upstream was never ingested.
You have more wallets than you can list from memory
Volume alone is manageable. The problem is coverage. One forgotten wallet, one unsupported chain or one exchange that closed removes acquisitions from the book, and every later sale of those units then reports a gain that is too high.
The DeFi events that break a tax report
There is no IRS guidance addressing liquidity provision, wrapping or restaking specifically. That does not make the events untaxed. It means a position has to be taken on each one and documented, consistently, across every year in the book.
| Event | What generic software usually does | What a reconciliation has to establish |
|---|---|---|
| Liquidity pool deposit | Records a disposal of both assets at an estimated price | Whether the position is treated as a continuation or a disposal, and where the basis of the deposited assets goes |
| Fees accruing inside a position | Misses them entirely, because no transfer occurs | The amount and character of the fees, and when they were withdrawn or realised |
| Wrapping and unwrapping | Treats each direction as a taxable swap | Whether the wrapped token is the same economic asset, and the basis carried through |
| Bridging between chains | Disposal on the source chain, zero basis acquisition on the destination | The matched pair, so basis and holding period survive the move |
| Liquid staking and restaking receipts | Books the receipt token as a purchase with no cost | The reward income, its timing under Revenue Ruling 2023-14, and the basis it creates |
| Perpetuals and margin | Hundreds of unclassified small movements | Realised profit and loss, funding, and fees separated per position |
| Airdrops and forks | Prices everything received, including spam | Whether dominion and control existed, per Revenue Ruling 2019-24, and whether the token had a market at all |
Thousands of transactions across many wallets
Large books are not solved by importing more data. They are solved by working in an order that makes each step checkable.
Coverage before classification
Every wallet, exchange, chain and file is ingested first. A classification decision made on an incomplete book has to be redone once the missing source arrives, so coverage is settled before anything is classified. Sources that will not import are a task, not an exclusion.
Transfers before treatments
Internal movements between your own wallets and accounts are matched next. Until they are, a transfer looks like a sale on one side and free money on the other. Matching them removes the largest single source of phantom gain in a multi-wallet book.
Basis, wallet by wallet, from 2025
For transactions on or after 1 January 2025, basis is tracked per wallet or account rather than across your whole portfolio, and Revenue Procedure 2024-28 provides a safe harbour for allocating existing basis to specific wallets. That allocation is a one-time decision with lasting consequences, so it belongs in the reconciliation rather than in a rushed step at filing. Our guide to universal versus wallet-based tracking explains the change.
The check that ends the job
The book is finished when the closing balance of every asset in every wallet agrees with the balance the chain or the venue itself reports. If the book says you hold more than the chain does, the difference is an error, not a rounding artefact, and it is traced before any figure is reported.
DeFi tax accountant, CPA or tax attorney: who owns which part
These are three different jobs and most complex portfolios need two of them.
What a CPA or enrolled agent does
A CPA is a licensed professional who can prepare and sign returns, represent you before the IRS and give an opinion on your overall tax position. What most CPA practices do not do in-house is rebuild a DeFi transaction history, because it is data work rather than filing work. The split and the pricing are set out in crypto CPA versus crypto tax accountant.
When you want a tax attorney
Undisclosed years, an audit already in progress, or anything with exposure beyond a corrected return is attorney territory, because of privilege. Reconciliation work still has to happen, usually alongside.
What CountDeFi is
CountDeFi is a firm of crypto tax accountants. We are not a CPA firm and we do not employ a CPA, and we do not file US returns. We rebuild and reconcile the transaction history and produce the reports your CPA files from, which is described in who prepares crypto tax reports for your CPA. Chris Herbst holds the Chartered Business Accountant in Practice (CBAP) designation with the Chartered Institute for Business Accountants and the General Tax Practitioner (GTP) designation with the South African Institute of Taxation.
What it costs and what you receive
Reconciliation work is priced on the size and difficulty of the book, mainly the number of countable transactions and the number of protocols involved. A wallet of plain exchange trades is inexpensive. A book with concentrated liquidity, perpetuals and a decade of history is not, because the hours are real. Our guide to what a crypto CPA costs covers the market rates, and the crypto tax accounting service page sets out what a full engagement includes.
What you should receive at the end: a complete tax report for each year in scope, the filing forms for your jurisdiction, a full reconciled transaction history filed for your records, and a written account of the positions taken on anything the guidance does not settle. Anything less than that leaves your CPA working from figures nobody can defend.
Questions worth asking before you hire
- Do you reconcile closing balances against the chain, and will you show me the result?
- Which protocols have you handled directly, and can you name them?
- How do you treat liquidity positions, and where is that position written down?
- Who files my return, and what do you hand my CPA?
- What happens to prior years, and what do you do about missing basis?
- What do I get if I leave: the reports only, or the underlying history too?
- Are you licensed to represent me before the IRS, or is that my CPA's role?
The last one matters. A firm that answers it plainly is telling you where its work stops, which is exactly what you need to know before you hire.
How the work runs at CountDeFi
We are US crypto tax accountants working on complex and DeFi-heavy portfolios. Every transaction is reconciled rather than imported and accepted, closing balances are verified against the chain and the venue before any figure is reported, and the positions taken on unsettled treatments are documented so they can be explained later. The reports go to you and to your CPA, who files. If you are comparing that against doing it in software yourself, Koinly versus hiring a crypto accountant sets out where the line usually falls, and the DeFi tax reporting guide covers the underlying rules.
- IRS Notice 2014-21: virtual currency treated as property
- IRS Revenue Ruling 2023-14: staking rewards and dominion and control
- IRS Revenue Procedure 2024-28: wallet by wallet basis allocation safe harbour
- IRS Revenue Ruling 2019-24: hard forks and airdrops
- IRS: About Form 1099-DA
- IRS: About Form 8949
- IRS: About Schedule D (Form 1040)
- IRS Topic no. 409: capital gains and losses
- IRS: Digital assets
Frequently Asked Questions
What is a DeFi tax accountant?
An accountant who specialises in reconstructing on-chain transaction histories for tax. The work is identifying what each contract interaction was, pricing it, carrying cost basis through positions that software cannot follow, and producing figures that tie to the balances you actually hold.
Can crypto tax software handle DeFi on its own?
It handles the simple end well: exchange trades, plain transfers, straightforward swaps. It struggles when the meaning of a transaction depends on the protocol, which is most of DeFi. Software is the right tool for the import and the calculation; it is not the tool that decides what happened.
Do I still need a CPA?
For a US return, yes, if you are not filing yourself. Reconciliation and filing are different services. The reconciliation produces the numbers and the evidence; the CPA or enrolled agent signs and files the return and represents you if the IRS asks.
How are liquidity pool deposits taxed?
There is no IRS guidance addressing liquidity provision directly. In practice a position is taken, either that the deposit is a disposal of the assets contributed or that it is a continuation of your holding, and it is applied consistently and documented. What is not defensible is treating the deposit one way and the withdrawal another, which is what breaks most automated reports.
Are restaking and liquid staking rewards taxable?
Staking rewards are included in gross income at fair market value when you gain dominion and control over them under Revenue Ruling 2023-14. Liquid staking and restaking receipts complicate the timing, because value can accrue inside a token rather than arriving as a reward transfer, so the reading of each protocol matters.
How many wallets is too many to do yourself?
It is not the count. It is whether every wallet is in the book and whether transfers between them are matched. Two wallets with an unmatched bridge produce worse figures than twenty that are fully reconciled.
Will a Form 1099-DA fix this for me?
No. Brokers report dispositions on Form 1099-DA, but a broker only knows what happened on its own platform. Assets you transferred in, and everything you did in your own wallets, are outside what any broker can report, so the basis behind those disposals is still yours to establish.
How far back does the work go?
To the first acquisition of any units you still held in the years being reported. Basis carries forward from the day units were bought, so a sale today can depend on a purchase made years earlier, and that purchase has to be evidenced.
Chris Herbst is the founder of CountDeFi, a crypto tax specialist whose qualifications span investment management, financial analysis, mathematical statistics and computer science. He holds the Chartered Business Accountant in Practice (CBAP) designation with the Chartered Institute for Business Accountants (CIBA) and the General Tax Practitioner (GTP) designation with the South African Institute of Taxation (SAIT). His combined background in investments, accounting and tax, mathematical statistics and computer science underpins his work in complex crypto tax reporting. This article is for educational purposes only and does not constitute tax, legal or investment advice. Consult a qualified tax professional for guidance specific to your situation. View our Editorial Policy.

