Electrum Protocol¶
The Electrum Protocol is a client-server JSON-RPC protocol. The primary use case is a light self-custodial Bitcoin wallet keeping track of its onchain history.
The current version is Electrum Protocol 1.4.x.
Source Code¶
The project is hosted on GitHub.
License¶
The code/docs is released under the MIT Licence.
Documentation¶
- Electrum Protocol
- Protocol Basics
- Protocol Methods
- blockchain.block.header
- blockchain.block.headers
- blockchain.estimatefee
- blockchain.headers.subscribe
- blockchain.relayfee
- blockchain.scripthash.get_balance
- blockchain.scripthash.get_history
- blockchain.scripthash.get_mempool
- blockchain.scripthash.listunspent
- blockchain.scripthash.subscribe
- blockchain.scripthash.unsubscribe
- blockchain.transaction.broadcast
- blockchain.transaction.get
- blockchain.transaction.get_merkle
- blockchain.transaction.id_from_pos
- mempool.get_fee_histogram
- server.add_peer
- server.banner
- server.donation_address
- server.features
- server.peers.subscribe
- server.ping
- server.version
- Some more stuff for altcoins
- Protocol Changes
- Removed Protocol Methods
- Deserialized Headers
- blockchain.address.get_balance
- blockchain.address.get_history
- blockchain.address.get_mempool
- blockchain.address.listunspent
- blockchain.address.subscribe
- blockchain.headers.subscribe
- blockchain.numblocks.subscribe
- blockchain.utxo.get_address
- blockchain.block.get_header
- blockchain.block.get_chunk
- server.version
- Deserialized Headers
- Protocol Ideas