ElectrumConfig class

Configuration for an ElectrumBlockchain

Constructors

ElectrumConfig({required String url, String? socks5, required int retry, int? timeout, required int stopGap, required bool validateDomain})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
retry int
Request retry count
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socks5 String?
URL of the socks5 proxy server or a Tor service
final
stopGap int
Stop searching addresses for transactions after finding an unused gap of this length
final
timeout int?
Request timeout (seconds)
final
url String
URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with ssl:// or tcp:// and include a port eg. ssl://electrum.blockstream.info:60002
final
validateDomain bool
Validate the domain when using SSL
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited