When you create a virtual account based on a cryptocurrency (for example, BTC or ETH), you usually need to provide the extended public key (xpub) of the blockchain wallet that will be connected to the account.
However, this is not true for all wallets. When that happens, you will get an error looking as follows:
{ “statusCode”: 403, “errorCode”: “account.xpub.incompatible”, “message”: “Xpub not compatible with account currency.” }
Good to know
Not all blockchains provide xpub for wallets, or Tatum may not support wallets on some blockchains.
In those cases, use the wallet address or the account address instead.
In the case of Solana as well as a few others, you need to use the address you got from Generated Wallet.
Adding xpub to the virtual account does not connect any specific blockchain address to the account. xpub is a generator of addresses, not an address itself. API endpoint reference at the following link.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article