docs.stake.tax
Search…
Default (stake.tax 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

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 for these transactions for illustrative purposes. Though TX_TYPES are generally only created and not modified over time--this is not a firm guarantee.

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_PROCEEDS : withdraw RandomEarth bank account sales proceeds

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
Last modified 17h ago