Configuration for an Electrum blockchain.
fun main() { //sampleStart val blockchainConfig = BlockchainConfig.Electrum( ElectrumConfig( url = "ssl://electrum.blockstream.info:60002", socks5 = null, retry = 5u, timeout = null, stopGap = 200u ) ) //sampleEnd }
Request retry count.
URL of the socks5 proxy server or a Tor service.
Stop searching addresses for transactions after finding an unused gap of this length.
Request timeout (seconds).
URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port, e.g. ssl://electrum.blockstream.info:60002.
ssl://
tcp://
ssl://electrum.blockstream.info:60002