ImportWalletCommand class
Import a wallet from extended private key or WIF.
With resume the wallet must already exist and no key is given: the
ImportActor reads it from secure storage, skips the addresses and
transactions the wallet already holds and imports the rest. The same
command resumes an import after the host was killed, retries one that
finished with ImportCompleteEvent.transactionsFailed above zero, and
rescans a wallet for new history.
- Inheritance
-
- Object
- CoordinatorRequest<
ImportCompleteEvent> - ImportWalletCommand
Constructors
Properties
- correlationId → String
-
The correlation ID of the message.
no setterinherited
- gapLimit → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
The metadata of the message.
no setter
- mnemonic → String?
-
final
- networkType → String
-
final
- replyTimeout → Duration
-
How long
WalletCoordinator.askwaits for the reply when the caller gives no timeout. A request that is still running then is not cancelled: its reply arrives on the event stream later.no setteroverride - replyTo → ActorRef?
-
The actor to reply to.
no setterinherited
- requestId → String
-
Identifies this request; its reply carries it back.
finalinherited
- resume → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
The timestamp of the message.
finalinherited
- walletId → String
-
final
- walletName → String
-
final
- wif → String?
-
final
- xpriv → String?
-
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