This page explains the Classification rules feature in the DeFi function.
With classification rules, you can set transaction types in advance for the addresses you frequently send to and receive from, and classify all transfers with each address in one go.
Contents
1. What are classification rules?
If you often transfer to and from the same address, such as your own wallets or exchange accounts, or an airdrop distributor, selecting a transaction type for each "To classify - Transfers" transaction one by one can take a lot of time.
Classification rules let you set a transaction type for incoming and outgoing transfers for each counterparty address. Once you set a rule, every transfer between your wallets and that address is classified at your next wallet sync.
- The rule applies not only to existing transfers but also to any transfers that arrive later.
- You can set different transaction types for incoming and outgoing transfers.
- You can edit or delete a rule at any time.
2. Important notes
- Supported chains: Classification rules are available for EVM chains, Solana, and Sui. Bitcoin, Cardano, and Cosmos chains are not supported.
- Target transactions: Rules apply to transfer (incoming and outgoing) transactions only. They do not apply to other DeFi transactions such as swaps or liquidity provision.
- Manual edits take priority: If you have manually selected a transaction type for a transaction on the transaction list, the rule never overrides it.
- Rules are applied when you sync your wallets: Creating, changing, or deleting a rule takes effect at your next wallet sync. For how to sync, please refer to DeFi: How to Import Wallet Transaction History, "4. How to resync a wallet address".
- Locked periods are not affected: If you have locked your data, transactions before the lock date are not reclassified by rules.
- Addresses with only one transfer are not listed: "Addresses to classify" shows addresses with two or more transfers. For an address with only one transfer, please select the transaction type from the transaction list (see How to address "Unclassified (To classify)" DeFi transactions on EVM, Cosmos, Sui, etc. / for Solana).
3. How to set a classification rule
1. Open the Transactions tab on the DeFi page. Addresses to classify is shown above the transaction list.
The addresses you transfer to and from most are listed in order of the number of transfers. To see all addresses, click Show all [number] addresses below the list.
Each address shows the following:
- The address (and its label, if you have labeled it in the Address book)
- The chain (click it to view the address on that chain's explorer)
- The number of incoming and outgoing transfers
*For how to label an address, please refer to DeFi: Wallet Address Label Feature.
2. Click Set rule for the address you want to set a rule for.
3. On the Set a classification rule screen, select a transaction type for Incoming and Outgoing transfers.
Transaction types are grouped into Taxable and Not taxable. For details on each transaction type, see "4. Transaction types you can set."
- For a direction you don't want a rule for, leave it as No rule.
- If there are no transfers with the address in one direction, "No transfers, so it will be saved with no incoming (outgoing) rule" is shown. To set a rule for future transfers in that direction, click Also set a rule for incoming (or Also set a rule for outgoing).
4. Click Save rule. When "Classification rule saved" appears, the rule is set.
5. Sync your wallets to apply the rule to your transactions.
*Once you set a rule for an address, it no longer appears in "Addresses to classify." You can find your rules on the Classification rules tab (see "5. How to view, edit, and delete classification rules").
4. Transaction types you can set
The transaction types you can set with a rule are listed below. For how each type is processed in the PNL calculation, please also see DeFi: PNL calculation for each transaction type.
Incoming
| Transaction type | Group | Description | Example |
|---|---|---|---|
| Bonus | Taxable | Other increase such as staking rewards, airdrops, etc. | An airdrop distributor's address |
| Receive | Taxable | Bought or received token | ― |
| Self | Not taxable | Transfer from your own wallet or exchange account | Your own exchange account address |
| Ignore | Not taxable | Same tax treatment as Self (see * below) | ― |
Outgoing
| Transaction type | Group | Description | Example |
|---|---|---|---|
| Pay | Taxable | Other decrease such as subscriptions, payments, etc. | The address of a service you pay regularly |
| Give | Taxable | Sold or gifted token | ― |
| Loss | Taxable | Expensed/loss | ― |
| Self | Not taxable | Transfer to your own wallet or exchange account | Your own exchange account address |
| Ignore | Not taxable | Same tax treatment as Self (see * below) | ― |
*About "Ignore" in classification rules
"Ignore" in a classification rule is treated the same as Self in the PNL calculation. Use it if you want to keep rule-classified transfers easy to identify in your transaction list.
Please note that this is different from "Ignore" selected for an individual transaction on the transaction list, which excludes the transaction from the PNL calculation. For "Ignore" on individual transactions, please see DeFi: PNL calculation for each transaction type, "1. To classify (Unclassified) "Transfers" (Deposit)" and "2. To classify (Unclassified) "Transfers" (Withdrawal)".
5. How to view, edit, and delete classification rules
Open the Classification rules tab on the DeFi page. Your rules are listed under Active rules.
- Rules are grouped by chain family (EVM, Solana, Sui).
- You can search rules by label or address.
Edit a rule
- Click Edit rule for the rule you want to edit.
- Change the transaction type for incoming or outgoing transfers, and click Save changes.
*If you set a direction back to "No rule," that part of the rule is removed, and those transfers return to their default classification at the next sync.
Delete a rule
- Click Delete rule for the rule you want to delete.
- On the "Delete this rule?" screen, check the rule and the address it applies to, and delete it.
*Transfers classified by the rule return to their default classification at the next sync. Transactions you have edited manually are not affected. You can set the rule up again at any time.
6. How to check transactions classified by a rule
Transactions classified by a rule are marked Rule on the transaction list. Hover over it to see "This DeFi transaction was classified by a transfer classification rule."
You can also filter the transaction list to show only rule-classified transactions by selecting Classified → Rule.
*The transaction details do not show which rule classified the transaction. Please check the counterparty address on the Classification rules tab.
7. FAQ
Q. I set a rule, but the classification of my transactions has not changed.
Please check the following:
- Did you sync your wallets after setting the rule? Rules take effect at your next sync.
- Did you manually select a transaction type for the transaction? Manual edits take priority over rules.
- Is the transaction in a locked period? Rules do not apply to transactions before the lock date.
- Is it a transfer transaction on a supported chain (EVM chains, Solana, or Sui)?
Q. An address disappeared from "Addresses to classify."
Once you set a rule for an address, it no longer appears in "Addresses to classify." You can view and edit your rules on the Classification rules tab.
Q. The address I want to classify is not shown in "Addresses to classify."
Addresses with only one transfer are not shown. Please select the transaction type from the transaction list.
If you have many addresses, they are listed starting from those with the most transfers.
Q. Should I choose "Self" or "Ignore"?
Both are treated the same in the PNL calculation. For transfers with your own wallets or exchange accounts, please choose "Self."
Q. Can I use classification rules on Bitcoin, Cardano, or Cosmos chains?
These chains are not supported at the moment. Please select transaction types for these transactions from the transaction list.