DeFi Documentation
LP, Staking & Bridges

Swaps, LP positions and bridges no tool reads cleanly. TX-Partner reconstructs them on-chain.

Book a consultation

30 minutes · Consultation and quote free

9years Together in crypto accounting
Fixed price Cost certainty upfront
Independent Not tied to any tool
Robert Thorn Johannes Anderl

Robert & Johannes · personally review your data

Challenges

Why DeFi accounting is especially complex

The on-chain data is available. The work lies in reading it correctly.

01_CONTRACT_AGGREGATE

One contract, several operations

What runs bundled inside one smart contract on-chain is often read out wrongly: sometimes the trade is missing entirely, sometimes it is booked against the fee.

02_TRANSFER_PAIRING

Only one side arrives

With bridges and aggregators the outflow is captured, the inflow is not, or carries a different token name. The report then shows a sale without proceeds.

03_CHAINS_SEPARATE

Every chain is its own source

The same address has to be captured per chain. The “Import all wallets” function is unreliable; after every import each chain gets checked separately.

The DeFi scenarios

Four operations that need evidence of their own

The same on-chain operation is not self-explanatory. Its class decides what ends up in the report.

LIQUIDITY_POOL

Liquidity pool

Entering against LP tokens, the running rewards and the exit are three operations. Each needs its own assignment, otherwise the cost basis of the position breaks.

LENDING_STAKING

Lending and staking

Deposit and repayment have to be linked, interest counts as income. On-chain staking and exchange staking that is de facto lending are treated differently.

BRIDGES

Bridges and cross-chain swaps

Two sides, one often under a different token name. Linked as a transfer the cost basis carries over, otherwise a phantom sale appears on the source chain.

ROUTER_VENUE

Deposits routed through a router

Deposits to perp DEXes often run through a router. On-chain only the router is visible, the venue itself emerges from the conversation.

What that means

Where an unrecognised DeFi entry hits the report

Tax tools calculate with what is classified. If an entry stays without a type, the tool treats the outflow as a sale and gives the inflow a cost basis of zero.

Cost basis of zero

Without a matching purchase the full proceeds become a gain. In Blockpit the entry then carries the Missing Label tip (formerly Unlabeled).

One operation, several failure modes

The tool reads the contract call wrongly. Sometimes the trade is missing, sometimes it is booked against the fee, sometimes one side is absent.

Wraps and mergers as two rows

Migrations and wraps sometimes land as an outflow plus an inflow instead of one trade. The receiving side then starts with a cost basis of zero.

The expensive shortcut

Dumping everything unclear into one category makes the hint disappear. The cost basis stays wrong and travels into every following year.

What TX-Partner makes of it

The operation first, the label second.

01

Addresses and chains collected

Every wallet address goes on the list per chain, together with every protocol used. A bulk import does not replace that.

02

Operations reconstructed on-chain

Every contract call is checked in the explorer and mapped the way it actually happened. If a side is missing, the source is retrieved.

03

Filed in the tool

The entries are brought into import format and classified. Then TX-Partner triggers the recalculation before the report is produced.

Ready?

Complete DeFi history for good.

30 minutes that make the difference.

Book a consultation 30 minutes · Consultation and quote free

If we are not the right fit for your case, we will say so in the call.

Frequently Asked Questions

What We Get Asked Most

In principle, yes. On-chain data is permanent and public. The work is not in finding it but in interpreting it correctly: was the operation a swap, an LP deposit or a bridge?
The on-chain data remains after a protocol shuts down. The smart contract interactions can still be reconstructed from the chain, even when the protocol interface is no longer reachable.
Partly. Simple swaps on known DEXes and transfers between wallets are usually recognised. LP deposits, bridge operations and activity on layer 2 or Solana need manual work in practice. TX-Partner prepares the raw data so the tool calculates correctly.
Any interaction with a decentralised finance protocol on the blockchain: swaps on a DEX, liquidity in a pool, staking, lending and bridging between chains. Every operation is stored on-chain; the classification does not always follow from that alone.
Since 2026 DAC8 applies: regulated crypto service providers report aggregated values to the authority. Native DeFi protocols as smart contracts mostly fall outside it, while interactions through a regulated gateway are captured. Austria implements it as the Kryptowerte-Meldepflichtgesetz, Germany as the Kryptowerte-Steuertransparenzgesetz.