GasStation
open class GasStation : Disposable, AutoCloseable, GasStationInterface
The IOTA gas station, sponsoring transactions over its HTTP API.
Build one and pass it to a transaction builder's execute_with_gas_station.
Constructors
| GasStation | constructor(url: String, reservationDuration: Duration? = null, headers: Map<String, List<String>>? = null, httpOptions: HttpClientOptions? = null) Create a gas station reachable at url. |
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| toString | open override fun toString(): String |
| url | open override fun url(): String The URL this station is reached at. |