<p>Use <code>bitcoincashjs</code> Library</p>

<pre><code>const bitcore = require('bitcoincashjs');

const HdPublicKey = new bitcore.HDPublicKey.fromString(xpubKey);
            const derivedPublicKey = HdPublicKey.derive("m/0/" + index).publicKey;
            const address = derivedPublicKey.toAddress();
            requestObj.BCHAddress = address.toString();
</code></pre>

<p>to verify Transaction use <code>blocktrail-sdk</code></p>

<pre><code>const blocktrail = require('blocktrail-sdk');
const client = blocktrail.BlocktrailSDK({
    apiKey: apiKey,
    apiSecret: apiSecret,
    network: "BCC",
    testnet: false
});
</code></pre>

<p>then you can call many function of <code>client</code> like </p>

<pre><code>    client.addressTransactions(bitAddress[i].BCHAddress,
     async function (err, addressTxs) {
         //Code here 
    });
</code></pre>

CC BY-SA 4.0
2018-05-20T04:36:03.203Z
2018-05-20T04:36:03.203Z
manoj
<p>Have a look at these. I think this may help you.</p>

<p><a href="https://github.com/owstack/bch-explorer-api" rel="nofollow noreferrer">https://github.com/owstack/bch-explorer-api</a></p>

<p><a href="https://bch.btc.com/api-doc" rel="nofollow noreferrer">https://bch.btc.com/api-doc</a></p>

CC BY-SA 4.0
2018-05-14T06:54:15.307Z
Hi, these are not working for Bitcoin Cash
rajana sekhar
CC BY-SA 3.0
2018-04-03T09:24:12.597Z
2018-04-03T09:24:12.597Z
Prayag k
<p>You would have to use separate URL for that.</p>

<p><a href="https://bitcoincash.blockexplorer.com/" rel="nofollow noreferrer">https://bitcoincash.blockexplorer.com/</a></p>

CC BY-SA 3.0
2018-04-03T15:55:31.700Z
2018-04-03T15:55:31.700Z
VJV
<p>I have Successfully integrated <strong>Bitcoin</strong> To get payment so to verify Transaction from given address, I use 
<code>https://blockchain.info/multiaddr?active=$address|$address</code>
, which is working for <strong>Bitcoin</strong>. </p>

<p>So now I want to integrate <strong>Bitcoin Cash</strong>. For <strong>Bitcoin cash</strong> what is the base URL from <em>blockchain.info</em>.</p>

<p>I search for this many places. I am not able to find a solution.</p>

<p>Plz suggest me to integrate for test net for bitcoin cash too.</p>

CC BY-SA 3.0
2018-04-03T07:37:07.917Z
Blockchain info doesn't have a Bitcoin Cash API.
MCCCS
CC BY-SA 4.0
2018-05-14T07:00:06.637Z
Hello manoj, are you find any api for Bitcoin cash, if you find, please tell me which is you are using for Bitcoin cash
rajana sekhar
CC BY-SA 4.0
2018-05-20T04:26:03.020Z
@rajanasekhar I am using bitcoincashjs library for bitcoin cash which supports test net, I am writing solution for this on answer section :)
manoj
<blockchain><blockchain.info><bitcoin-cash>
Api Base URL for Bitcoin Cash
manoj
# Api Base URL for Bitcoin Cash

(Asked by: username_0 on 2018-04-03)

I have Successfully integrated **Bitcoin** To get payment so to verify Transaction from given address, I use
`https://blockchain.info/multiaddr?active=$address|$address`
, which is working for **Bitcoin**.

So now I want to integrate **Bitcoin Cash**. For **Bitcoin cash** what is the base URL from *blockchain.info*.

I search for this many places. I am not able to find a solution.

Plz suggest me to integrate for test net for bitcoin cash too.

**Tags:** blockchain, blockchain.info, bitcoin-cash

> **Comments:**
> **username_1**: Blockchain info doesn't have a Bitcoin Cash API.  
> **username_2**: Hello username_0, are you find any api for Bitcoin cash, if you find, please tell me which is you are using for Bitcoin cash  
> **username_0**: @rajanasekhar I am using bitcoincashjs library for bitcoin cash which supports test net, I am writing solution for this on answer section :)  

---

## 3 answers

### Answer by username_0 on 2018-05-20. Score: 1 | Accepted answer

Use bitcoincashjs Library
const bitcore = require('bitcoincashjs');

const HdPublicKey = new bitcore.HDPublicKey.fromString(xpubKey);
            const derivedPublicKey = HdPublicKey.derive("m/0/" + index).publicKey;
            const address = derivedPublicKey.toAddress();
            requestObj.BCHAddress = address.toString();

to verify Transaction use blocktrail-sdk
const blocktrail = require('blocktrail-sdk');
const client = blocktrail.BlocktrailSDK({
    apiKey: apiKey,
    apiSecret: apiSecret,
    network: "BCC",
    testnet: false
});

then you can call many function of client like 
    client.addressTransactions(bitAddress[i].BCHAddress,
     async function (err, addressTxs) {
         //Code here 
    });


---

### Answer by username_3 on 2018-04-03. Score: 1

Have a look at these. I think this may help you.

<https://github.com/owstack/bch-explorer-api>

<https://bch.btc.com/api-doc>

> **Comments:**
> **username_2**: Hi, these are not working for Bitcoin Cash  

---

### Answer by username_4 on 2018-04-03. Score: 1

You would have to use separate URL for that.

<https://bitcoincash.blockexplorer.com/>


---

