docs.stake.tax
Search
⌃K

Default (StakeTax CSV)

Documentation on default CSV format

Base TX_TYPE

The following TX_TYPE's are exported into non-default CSVs (i.e. accointing, cointracking, etc):
  • STAKING : staking reward
  • AIRDROP : airdrop
  • TRADE : trade
  • TRANSFER : incoming or outgoing transfer
  • SPEND: outgoing transfer of crypto to spend on goods/etc
  • BORROW: borrow crypto for loan
  • REPAY: repay crypto for loan
  • LP_DEPOSIT: liquidity pool deposit (only available in koinly, coinpanda)
    • example:
      • I did the following: deposit UST, deposit ANC, receive LP_ANC_UST.
      • result: 2 LP_DEPOSIT transactions (UST -> LP_ANC_UST, ANC -> LP_ANC_UST).
  • LP_WITHDRAW: liquidity pool withdrawal (only available in koinly, coinpanda)
    • example:
      • I did the following: withdraw UST, withdraw ANC, deposit LP_ANC_UST.
      • result: 2 LP_WITHDRAW transactions (LP_ANC_UST -> UST, LP_ANC_UST => ANC).

Non-base TX_TYPE (_*)

All other transactions (start with underscore) are NOT exported into non-default CSVs. These must be manually imported/ignored by the user. Below are incomplete/fluid lists of these transactions for illustrative purposes.

ATOM/TERRA/SOLANA

  • _STAKING_DELEGATE : delegate stake
  • _STAKING_UNDELEGATE : undelegate stake
  • _STAKING_REDELGATE : redelegate stake
  • _STAKING_WITHDRAW_REWARD : withdraw reward transaction that does not include staking income (included only for better readability in certain cases)

TERRA

  • _GOV_STAKE : delegate stake for governance (ANC/MIR usually)
  • _GOV_UNSTAKE : undelegate stake for governance (ANC/MIR usually)
  • _DEPOSIT_COLLATERAL : deposit collateral for loan or LP
  • _WITHDRAW_COLLATERAL : withdrawal collateral for loan or LP
Mirror Protocol
  • _LP_DEPOSIT : deposit into liquidity pool
  • _LP_WITHDRAW: withdraw from liquidity pool
  • _LP_STAKE : stake liquidity pool token
  • _LP_UNSTAKE : unstake liquidity pool token
Anchor Protocol
  • _EARN_DEPOSIT: anchor earn deposit UST
  • _EARN_WITHDRAW: anchor earn withdraw UST
  • _BOND: bond
  • _UNBOND: initiate unbond
  • _UNBOND_WITHDRAW: withdrawal of asset associated with unbond (i.e. 21 days after unbond initiated)
  • _UNBOND_INSTANT: unbond with instant withdrawal of asset
RandomEarth NFTs
  • _NFT_WHITELIST : whitelist action by contract
  • _NFT_MINT : mint nft action without purchase (airdrop usually)
  • _NFT_OFFER_SELL: post sell offer
  • _NFT_WITHDRAW : withdraw RandomEarth NFT or sales proceeds from RandomEarth account

SOLANA

  • _STAKING_SPLIT: split staking account
  • _STAKING_WITHDRAW : withdraw from staking account
  • _STAKING_DEACTIVATE : deactivate staking account
  • _STAKING_CREATE : create staking account
  • _INIT_ACCOUNT : create system or associated account
  • _SETTLE_FUNDS: serum settle funds transactions
  • _LP_DEPOSIT : deposit into liquidity pool
  • _LP_WITHDRAW: withdraw from liquidity pool
  • _STAKE : stake liquidity pool token or raydium token
  • _UNSTAKE : unstake liquidity pool token or raydium token
  • _REWARD_ZERO : transaction with staking reward 0
  • _SERUM_DEX : serum interaction transaction