Blockchain Config
Type that can contain any of the blockchain configurations defined by the library.
Samples
fun main() {
//sampleStart
val blockchainConfig = BlockchainConfig.Electrum(
ElectrumConfig(
url = "ssl://electrum.blockstream.info:60002",
socks5 = null,
retry = 5u,
timeout = null,
stopGap = 200u
)
)
//sampleEnd
}
Types
Link copied to clipboard
Electrum client.
Link copied to clipboard
Esplora client.
Link copied to clipboard
Bitcoin Core RPC client.