ah, okey, how i can get all bitcoin addresses from xpub?
I can think of a few ways...
You can use Ian Coleman's BIP39 tool(remember to download the Website and access it from an airgapped PC) if you have the seed phrase (BTC and BCash have the same address derivation scheme)
It will create the list of bitcoin addresses from the seed (same thing the xpub does)
If you don't have the seed then
You can use something like this:
https://github.com/dan-da/hd-wallet-addrsBut edit it to query BCash block explorer APIs instead of bitcoin's so you can get the balance of the addresses.
There might be easier ways but I'm sleepy and can't think of anything better now