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.

1 Answer 1


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


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.

  • 1
    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
    Commented Jul 27, 2018 at 6:20
  • Thanks but I didn't found any method that says createWallet :/
    – Gagan
    Commented Jul 27, 2018 at 6:30
  • 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. Commented Jul 27, 2018 at 8:16
  • Please don't ask multiple questions in the comments section. anyway, I've edited my answer.
    – Tailer
    Commented Jul 27, 2018 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.