<p>Yes for sure, You can send requests to electrum servers or your server (recommended) by sending JSON-RPC requests. </p>

<p>Take a look on Electrum documentation </p>

<p><a href="https://electrumx.readthedocs.io/en/latest/protocol-methods.html" rel="nofollow noreferrer">https://electrumx.readthedocs.io/en/latest/protocol-methods.html</a></p>

<p>for bitcoin cash use <code>Electroncash</code>  same commands work.</p>

<p>For example, to broadcast a hex transaction you can call</p>

<p><code>{"id": 1, "method": "blockchain.transaction.broadcast", "params": ["YOUR_HEX_TRANSACTION"]}</code></p>

<p>There are no wallet commands available, but blockchain commands.</p>

CC BY-SA 4.0
2018-07-27T06:20:49.500Z
Adam, Thanks for the answer. I was also looking for a similar solution asked by Gagan.
I have further questions, like there is bitcore api sdk is also available to create wallets and do transactions. Then what benefit do we get to use electrum api's? I will really appericate the answer :)
Amit Modi
CC BY-SA 4.0
2018-07-27T06:30:41.387Z
Thanks but I didn't found any method that says createWallet :/
Gagan
CC BY-SA 4.0
2018-07-27T08:16:03.013Z
amit You will need an Electrum client that connects to an Electrum server. It is similar in logic to the bitcore api, but requires less components and is more secure by storing all wallet/key stuff on the client.
Nikos Kostoulas
CC BY-SA 4.0
2018-07-27T15:57:23.537Z
Please don't ask multiple questions in the comments section. anyway, I've edited my answer.
Tailer
CC BY-SA 4.0
2018-07-26T16:47:24.320Z
2018-07-27T15:57:00.393Z
2018-07-27T15:57:00.393Z
Tailer
<p>Does Electrum provides any API? If yes, please let me know if there's any dedicated documentation available.</p>

<p>Also, does Electrum support Bitcoin Cash?</p>

<p>Purpose:
I want to integrate Electrum into my application for wallet service and seeding capabilities. I'm planning to run full node for BCH and BTC.</p>

<api><electrum><bip32-hd-wallets><bitcoin-cash>
Does Electrum provides any API?
Gagan
# Does Electrum provides any API?

(Asked by: username_0 on 2018-07-26)

Does Electrum provides any API? If yes, please let me know if there's any dedicated documentation available.

Also, does Electrum support Bitcoin Cash?

Purpose:
I want to integrate Electrum into my application for wallet service and seeding capabilities. I'm planning to run full node for BCH and BTC.

**Tags:** api, electrum, bip32-hd-wallets, bitcoin-cash


---

## 1 answers

### Answer by username_1 on 2018-07-26. Score: 4 | Accepted answer

Yes for sure, You can send requests to electrum servers or your server (recommended) by sending JSON-RPC requests.

Take a look on Electrum documentation

<https://electrumx.readthedocs.io/en/latest/protocol-methods.html>

for bitcoin cash use `Electroncash` same commands work.

For example, to broadcast a hex transaction you can call

`{"id": 1, "method": "blockchain.transaction.broadcast", "params": ["YOUR_HEX_TRANSACTION"]}`

There are no wallet commands available, but blockchain commands.

> **Comments:**
> **username_2**: Adam, Thanks for the answer. I was also looking for a similar solution asked by username_0. I have further questions, like there is bitcore api sdk is also available to create wallets and do transactions. Then what benefit do we get to use electrum api's? I will really appericate the answer :)  
> **username_0**: Thanks but I didn't found any method that says createWallet :/  
> **username_3**: amit You will need an Electrum client that connects to an Electrum server. It is similar in logic to the bitcore api, but requires less components and is more secure by storing all wallet/key stuff on the client.  
> **username_1**: Please don't ask multiple questions in the comments section. anyway, I've edited my answer.  

---

