EsploraConfig class

Configuration for an EsploraBlockchain

Constructors

EsploraConfig.new({required String baseUrl, String? proxy, int? concurrency, required BigInt stopGap, BigInt? timeout})
const

Properties

baseUrl String
Base URL of the esplora service e.g. https://blockstream.info/api/
final
concurrency int?
Number of parallel requests sent to the esplora service (default: 4)
final
hashCode int
The hash code for this object.
no setteroverride
proxy String?
Optional URL of the proxy to use to make requests to the Esplora server The string should be formatted as: <protocol>://<user>:<password>@host:<port>. Note that the format of this value and the supported protocols change slightly between the sync version of esplora (using ureq) and the async version (using reqwest). For more details check with the documentation of the two crates. Both of them are compiled with the socks feature enabled. The proxy is ignored when targeting wasm32.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopGap BigInt
Stop searching addresses for transactions after finding an unused gap of this length.
final
timeout BigInt?
Socket timeout.
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.
override