Chainlink (LINK): oracles, staking and taxation in Spain
Chainlink (LINK) is the de facto standard for oracles in DeFi and Web3. Its price feeds provide price data, real-world events, and off-chain information to thousands of smart contracts. With the launch of its staking program, LINK adds an additional tax dimension.
Buying and selling LINK: the base case
LINK is an ERC-20 standard. Buying and selling LINK follows the general regime:
- Acquisition cost = price paid + commissions.
- Transmission price = price received − commissions.
- Difference = capital gain/loss based on savings.
- FIFO rule applies.
Since LINK can be purchased on multiple exchanges, the FIFO must be calculated considering all purchases in chronological order.
##LINK Staking v0.2
Chainlink launched staking v0.2 in 2023. Holders can lock LINK in the staking contract to receive rewards.
Operation:
- You lock LINK in the contract → you receive rewards in LINK.
- The LINK can be unlocked, but there is a 28 day unbonding period.
Taxation:
- Staking rewards → return on equity. They are declared when making a claim or when they become available.
- Rating = LINK price at the time of receiving rewards.
Not a taxable event:
- The act of blocking/staking the LINKs in the contract (there is no transmission to a third party, you remain the owner).
Node Operators: remuneration for providing data
Chainlink node operators receive LINK as payment for responding to data requests (data feeds). This is an economic activity:
- If you are self-employed or a node operator company: income in LINK is performance from economic activities.
- Rating: LINK price at the time of receiving payment.
CCIP and LayerZero: the "internet of blockchains"
Chainlink CCIP (Cross-Chain Interoperability Protocol) allows cross-chain message and asset transfer. CCIP commissions are paid in LINK.
Tax-wise: Commissions paid on LINK to use CCIP are a pass-through of LINK (and possible tax gain/loss). You must record the LINK price when you pay the commission.
LINK Staking on DeFi Protocols
Some DeFi protocols (Aave, etc.) allow LINK to be used as collateral. LINK deposit as collateral:
- It is not a transfer (you do not transfer ownership → only guarantee).
- If your collateral is liquidated (the protocol sells your LINK): transmission at the time of liquidation.
VRF: Chainlink Verifiable Randomness
Gaming/NFT protocols pay LINK to obtain verifiable random numbers. If you are a protocol developer:
- LINK payments received = income from your activity.
- The LINK spent as VRF input = deductible cost/expense.
How to record LINK trades
- Etherscan: For LINK on Ethereum. Export CSV of token history.
- Arbiscan/Basescan: For LINK in Arbitrum/Base.
- Chainlink Staking App: Shows reward history.
- Koinly/Blockpit: Import LINK automatically.
Updated: April 2026 | Fiscal year: 2025


