Skip to main content

@iota/wallet

Table of contents

Classes

Type Aliases

Interfaces

Enumerations

Type Aliases

AccountId

Ƭ AccountId: number | string

Account identifier Could be the account index (number) or account alias (string)


EventType

Ƭ EventType: "*" | "ConsolidationRequired" | "LedgerAddressGeneration" | "NewOutput" | "SpentOutput" | "TransactionInclusion" | "TransactionProgress"

Wallet event types


Auth

Ƭ Auth: Object

Basic Auth or JWT

Type declaration

NameType
jwt?string
basicAuthNamePwd?[string, string]

Node

Ƭ Node: Object

A node object for the client

Type declaration

NameType
urlstring
auth?Auth
disabled?boolean

SecretManager

Ƭ SecretManager: LedgerNanoSecretManager | MnemonicSecretManager | StrongholdSecretManager

Supported secret managers


RemainderValueStrategy

Ƭ RemainderValueStrategy: ChangeAddress | ReuseAddress | CustomAddress

The RemainderValueStrategy


ChangeAddress

Ƭ ChangeAddress: Object

ChangeAddress variant of RemainderValueStrategy

Type declaration

NameType
strategy"ChangeAddress"
valuenull

ReuseAddress

Ƭ ReuseAddress: Object

ReuseAddress variant of RemainderValueStrategy

Type declaration

NameType
strategy"ReuseAddress"
valuenull

CustomAddress

Ƭ CustomAddress: Object

CustomAddress variant of RemainderValueStrategy

Type declaration

NameType
strategy"CustomAddress"
valuestring