Home › Encyclopedia › Transaction types › Collateral
Classification encyclopedia

Posting and withdrawing collateral: tax classification and treatment

Posting collateral into a lending protocol, and withdrawing it, are classified non_taxable: the depositor keeps beneficial ownership of the pledged asset, so there is no disposition and no income.

Example last verified 2026-08-06 against the live engine. CryptoTaxEdge Team.

54 verified rules6 chains16 protocols

Tax treatment

House treatment: non_taxable for collateral_supply and collateral_withdraw. The alias collateral is retired and is not an engine-emittable category.

This mapping comes from the closed CryptoTaxEdge classification taxonomy: every verdict resolves to one category and one of five treatments (disposal, income, non_taxable, expense, needs_review), with a confidence score and review routing when sources disagree.

How the engine reads this shape

Collateral mechanics look like transfers to a contract but carry a lien. The engine classifies the deposit and withdrawal legs as non-taxable movements while tracking the shapes that change the analysis: receiving an interest-bearing receipt token against the deposit, collateral that is rehypothecated into a yield position, and above all liquidation, where the protocol seizes and sells the collateral, a forced disposition with gain or loss measured against the collateral’s basis. Those edges are distinct categories, kept out of the plain collateral verdict.

A real classification

Real transaction, replayed against the live engine
POST /v1/classify { "chain": "ethereum", "hash": "0x0008c6178140df4c448c5a4ebc92aaedf62ff2a9dfc6a7208f104d852d49c2e4" }
{
  "api_version": "v1",
  "hash": "0x0008c6178140df4c448c5a4ebc92aaedf62ff2a9dfc6a7208f104d852d49c2e4",
  "chain": "ethereum",
  "category": "collateral_supply",
  "treatment": "non_taxable",
  "taxable": false,
  "confidence": 85,
  "needs_review": false,
  "ledger_action": "Add to Pool",
  "protocol": "Aave V3",
  "description": "Assets deposited into a lending position: a aToken (aEthWETH) for the same economic interest was minted, not a cross-asset disposal. Treated as a non-taxable deposit.",
  "review_note": null,
  "grey_area": null,
  "assets": {
    "sent": [
      {
        "symbol": "WETH",
        "amount": "200.047905",
        "decimals": 18,
        "action": "transferred",
        "token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "to": "0x4d5f47fa6a74757f35c14fd3a6ef8e3c9bc514e8"
      }
    ],
    "received": [
      {
        "symbol": "aEthWETH",
        "amount": "200.089689",
        "decimals": 18,
        "action": "received",
        "token_address": "0x4d5f47fa6a74757f35c14fd3a6ef8e3c9bc514e8",
        "token_name": "Aave Ethereum WETH",
        "from": "0x0000000000000000000000000000000000000000"
      }
    ],
    "gas": null
  }
}

Verbatim wire response from the live engine. Last verified 2026-08-06 by live replay. Check any transaction yourself in the Classification Explorer.

Verified rules behind this category

The engine backs this category with 54 verified contract-level rules across 6 chains, each earned from repeated on-chain observation and cross-source agreement rather than a heuristic guess. A small illustrative sample:

ProtocolChainCategoryConfidence
aave v3ethereumcollateral_withdrawhigh
aave v3arbitrumcollateral_withdrawhigh
multiplebasecollateral_withdrawhigh
multiplebsccollateral_withdrawhigh
Convex Financeethereumcollateral_supplyhigh

Illustrative sample of the 54 verified rules behind this page: the full mappings are served through the API.

Limitations

What this page does not decide. Some markets mint a receipt token against deposits; whether that mint is itself a realization event follows the same reasoning as the wrap grey area. A liquid-staking redeem currently served as collateral_withdraw does not honor the mint-side election (Standard GAP-2). Liquidations are a distinct category: house treatment disposal, grey and role-dependent. Confidence is a corroboration signal, not an accuracy percentage: when independent parses of a transaction disagree, the engine returns needs_review with taxable: null rather than guessing.

Classify a transaction

Frequently asked questions

What tax treatment does this page document?

House treatment follows the CryptoTaxEdge Classification Standard. Categories with no fixed mapping (GAP-3) tell you to read the treatment field on the record rather than infer it from the category name.

Where is the closed vocabulary published?

The versioned Classification Standard at https://cryptotaxedge.com/standard/ enumerates emitted categories and the five-treatment enum. This encyclopedia page is a worked example on top of that Standard.

Are the wire examples still current?

Yes. Each example is verbatim engine output, re-verified on a daily replay against the live engine.

Not tax advice. CryptoTaxEdge is software, not a licensed tax advisor. Classifications and the treatments described here are informational only; verify results and consult a qualified tax professional before filing. IRC section references are general framing.