Skip to main content
All CollectionsStep 1: Add Integrations and Import TransactionsFAQ
How to import Bitcoin transactions in Crypto Tax Calculator
How to import Bitcoin transactions in Crypto Tax Calculator

Importing xPub, yPub, zPub for UTXO wallets (Bitcoin, Bitcoin Cash, Bitcoin SV, Litecoin, Dogecoin, Dash, etc.)

Layla Huang avatar
Written by Layla Huang
Updated over 6 months ago

1. Navigate to your Integration page.

2. You can search for 'Bitcoin' or the wallet you use - we will use 'Ledger' as an example in this guide.

Import via 'Bitcoin'

Select 'Bitcoin' and enter your Bitcoin xPub or all your public wallet addresses. See the below sections for more details if you are unsure what this is.

Import via 'Ledger'

Select 'Bitcoin' in the wallet network dropdown menu and import the xPub key.

CTC supports importing with your public addresses or extended public key (i.e., xPub key). We recommend you use your xPub key to ensure all Bitcoin transactions are imported so that the cost basis can be tracked correctly. (Read this guide to understand the impact of not importing all your wallets on your taxes.)

To obtain your xPub key for a Bitcoin wallet, you generally need to follow a process that depends on the type of wallet you are using. Hierarchical Deterministic (HD) wallets, which are now standard, allow for generating multiple Bitcoin addresses from a single seed, making them both convenient and secure.

If you choose to import your public addresses rather than the xPub key, you must import all public addresses to ensure no missing transactions so the cost basis can be tracked correctly.

How to get my xPub key?

How to get the xPub key depends on which wallet you are using. This key starts with xpub... We use Ledger as an example below. You can also check Ledger DOCS here.

1. Log into your Ledger Live and click 'Accounts' on the left-hand side. Select the account you want to check. In this example, it's 'Bitcoin 1'.

2. Click the wrench icon on the top right corner to edit account.

3. Select 'ADVANCED' in the pop-up window.

4. You can then find your xPub key.

FAQ

Q: I imported my xPub key, but no transactions have been imported.

This is a common issue for some wallets, such as 'Ledger Live'. When it happens, you may have to convert your xPub key to a ypub or zpub. You can use an open-source tool such as Bitcoin Extended Public Key Converter to convert the address. Choose the version as either 'ypub' or 'zpub', and use that generated address instead of the xpub address.

Q: I use a different wallet, not a Ledger. Where do I find my xPub key?

Every wallet could be a bit different and change from time to time. You can search 'xpub' and the wallet name on Google to find the official support document on their websites.

For example, you can find Trezor instructions on their website: https://trezor.io/learn/a/trezor-suite-public-keys-xpub

Q: I can not find my xPub.

Some wallets do not provide you with your xPub key. In that case, you can import ALL your public addresses into CTC. (Read this guide to understand the impact of not importing all your wallets on your taxes.)

Did this answer your question?