Blockchain
A blockchain backend.
Samples
fun main() {
//sampleStart
val blockchainConfig: BlockchainConfig = BlockchainConfig.Electrum(
ElectrumConfig(
electrumURL,
null,
5u,
null,
10u
)
)
val blockchain: Blockchain = Blockchain(blockchainConfig)
blockchain.broadcast(signedPsbt)
//sampleEnd
}
Parameters
config
The blockchain configuration required.