Hierarchy

  • BaseWallet

Implements

Constructors

Properties

#addressTracker: {
    addAddresses: ((newAddresses: GroupedAddress[]) => Observable<GroupedAddress[]>);
    addresses$: Observable<GroupedAddress[]>;
    shutdown: (() => void);
}

Type declaration

#failedFromReemitter$: Subject<FailedTx>
#inputSelector: InputSelector
#logger: Logger
#newTransactions: {
    failedToSubmit$: Subject<FailedTx>;
    pending$: Subject<OutgoingTx>;
    signed$: Subject<WitnessedTx>;
    submitting$: Subject<OutgoingTx>;
} = ...

Type declaration

#publicCredentialsManager: PublicCredentialsManager
#reemitSubscriptions: Subscription
#submittingPromises: Partial<Record<TransactionId, Promise<TransactionId>>> = {}
#tip$: TipTracker
#trackedTxSubmitProvider: TrackedTxSubmitProvider
addresses$: Observable<GroupedAddress[]>
assetInfo$: TrackerSubject<Assets>

All owned and historical assets

assetProvider: TrackedAssetProvider
chainHistoryProvider: TrackedChainHistoryProvider
changeAddressResolver: ChangeAddressResolver
currentEpoch$: TrackerSubject<EpochInfo>
eraSummaries$: TrackerSubject<EraSummary[]>
fatalError$: Subject<unknown>

This is the catch all Observable for fatal errors emitted by the Wallet. Once errors are emitted, probably the only available recovery action is to shutdown the Wallet and to create a new one.

genesisParameters$: TrackerSubject<CompactGenesis>
governance: {
    isRegisteredAsDRep$: Observable<boolean>;
    getPubDRepKey(): Promise<undefined | Ed25519PublicKeyHex>;
}

Type declaration

handleProvider: HandleProvider
handles$: Observable<HandleInfo[]>
name: string
protocolParameters$: TrackerSubject<ProtocolParameters>
rewardsProvider: TrackedRewardsProvider
stakePoolProvider: TrackedStakePoolProvider
syncStatus: SyncStatus
txSubmitProvider: TxSubmitProvider
util: {
    resolveInput: ResolveInput;
    validateOutput(output: TxOut): Promise<OutputValidation>;
    validateOutputs(outputs: Iterable<TxOut>): Promise<Map<TxOut, OutputValidation>>;
    validateValue(output: Value): Promise<OutputValidation>;
    validateValues(outputs: Iterable<Value>): Promise<Map<Value, OutputValidation>>;
}

Type declaration

utxoProvider: TrackedUtxoProvider
witnesser: Witnesser

Methods

Generated using TypeDoc