Kointax.ioKointax.io

MetaMask and DeFi in Spain: how to declare your wallet operations

MetaMask is the most used DeFi wallet. Guide on importing and declaring all DeFi operations in Spain.

Equipo kointax·January 8, 2026·6 min read

MetaMask and DeFi in Spain: declaring wallet operations

MetaMask = wallet (not exchange). No downloadable tax reports. Blockchain is public — AEAT can access on-chain data.

Taxable DeFi events:

  • DEX swaps: Capital gain/loss
  • LP rewards/yield farming: Capital income when received
  • Liquidity withdrawal with impermanent loss: Capital gain/loss
  • NFT sales: Capital gain

Non-taxable events:

  • Adding/removing liquidity (the act itself, not the gain)
  • Receiving LP tokens
  • Depositing collateral

Import in kointax: Add wallet → paste 0x address → kointax retrieves full on-chain history. Inter-wallet transfers auto-marked as internal.

👉 Import your MetaMask in kointax and declare your DeFi

Ready to calculate your crypto taxes?

declaracrypto.es — FIFO, LIFO, HIFO or WAC method. 80+ compatible exchanges. Excel + PDF report ready for your tax return.

Start free — no card needed