Class: WalletAccount
Defined in: libraries/models/src/wallet-account/index.ts:93
Constructors
Constructor
new WalletAccount(
__namedParameters
):WalletAccount
Defined in: libraries/models/src/wallet-account/index.ts:118
Parameters
Parameter | Type |
---|---|
__namedParameters | WalletAccountParams |
Returns
WalletAccount
Properties
Accessors
isCustodial
Get Signature
get isCustodial():
boolean
Defined in: libraries/models/src/wallet-account/index.ts:267
Returns
boolean
isHardware
Get Signature
get isHardware():
boolean
Defined in: libraries/models/src/wallet-account/index.ts:263
Returns
boolean
isPasskey
Get Signature
get isPasskey():
boolean
Defined in: libraries/models/src/wallet-account/index.ts:271
Returns
boolean
isSoftware
Get Signature
get isSoftware():
boolean
Defined in: libraries/models/src/wallet-account/index.ts:259
Returns
boolean
[ModelIdSymbol]
Get Signature
get
static
[ModelIdSymbol]():string
Defined in: libraries/models/src/wallet-account/index.ts:185
Returns
string
DEFAULT
Get Signature
get
static
DEFAULT():WalletAccount
Defined in: libraries/models/src/wallet-account/index.ts:279
Returns
WalletAccount
DEFAULT_NAME
Get Signature
get
static
DEFAULT_NAME():string
Defined in: libraries/models/src/wallet-account/index.ts:275
Returns
string
VALID_SOURCES
Get Signature
get
static
VALID_SOURCES():WalletAccountSource
[]
Defined in: libraries/models/src/wallet-account/index.ts:286
Returns
WalletAccountSource
[]
Methods
equals()
equals(
otherWalletAccount
):boolean
Defined in: libraries/models/src/wallet-account/index.ts:237
Parameters
Parameter | Type |
---|---|
otherWalletAccount | WalletAccount |
Returns
boolean
toJSON()
toJSON():
object
Defined in: libraries/models/src/wallet-account/index.ts:205
Returns
object
Name | Type | Defined in |
---|---|---|
color | undefined | string | libraries/models/src/wallet-account/index.ts:213 |
compatibilityMode | undefined | string | libraries/models/src/wallet-account/index.ts:216 |
enabled | boolean | libraries/models/src/wallet-account/index.ts:215 |
icon | undefined | string | libraries/models/src/wallet-account/index.ts:214 |
id? | string | number | libraries/models/src/wallet-account/index.ts:219 |
index | null | number | libraries/models/src/wallet-account/index.ts:208 |
is2FA | undefined | boolean | libraries/models/src/wallet-account/index.ts:212 |
isMultisig | undefined | boolean | libraries/models/src/wallet-account/index.ts:218 |
label | string | libraries/models/src/wallet-account/index.ts:209 |
lastConnected | undefined | number | libraries/models/src/wallet-account/index.ts:211 |
model | undefined | string | libraries/models/src/wallet-account/index.ts:210 |
seedId | undefined | string | libraries/models/src/wallet-account/index.ts:217 |
source | WalletAccountSource | libraries/models/src/wallet-account/index.ts:207 |
toRedactedJSON()
toRedactedJSON():
object
Defined in: libraries/models/src/wallet-account/index.ts:223
Returns
object
Name | Type | Defined in |
---|---|---|
compatibilityMode | undefined | string | libraries/models/src/wallet-account/index.ts:231 |
enabled | boolean | libraries/models/src/wallet-account/index.ts:230 |
index | null | number | libraries/models/src/wallet-account/index.ts:226 |
is2FA | undefined | boolean | libraries/models/src/wallet-account/index.ts:229 |
isMultisig | undefined | boolean | libraries/models/src/wallet-account/index.ts:233 |
lastConnected | undefined | number | libraries/models/src/wallet-account/index.ts:228 |
model | undefined | string | libraries/models/src/wallet-account/index.ts:227 |
seedId | undefined | string | libraries/models/src/wallet-account/index.ts:232 |
source | WalletAccountSource | libraries/models/src/wallet-account/index.ts:225 |
toString()
toString():
string
Defined in: libraries/models/src/wallet-account/index.ts:195
Returns
string
update()
update(
data
):WalletAccount
Defined in: libraries/models/src/wallet-account/index.ts:241
Parameters
Parameter | Type |
---|---|
data | Partial <WalletAccountParams | WalletAccount > |
Returns
WalletAccount
[hasInstance]()
static
[hasInstance](instance
):instance is WalletAccount
Defined in: libraries/models/src/wallet-account/index.ts:191
Parameters
Parameter | Type |
---|---|
instance | unknown |
Returns
instance is WalletAccount
defaultWith()
static
defaultWith(params
):WalletAccount
Defined in: libraries/models/src/wallet-account/index.ts:290
Parameters
Parameter | Type |
---|---|
params | Partial <WalletAccountParams > |
Returns
WalletAccount