Skip to Content

hydra


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

ParameterType
__namedParametersWalletAccountParams

Returns

WalletAccount

Properties

PropertyModifierTypeDefault valueDefined in
color?publicstringundefinedlibraries/models/src/wallet-account/index.ts:111
compatibilityMode?publicstringundefinedlibraries/models/src/wallet-account/index.ts:115
enabledpublicbooleanundefinedlibraries/models/src/wallet-account/index.ts:113
icon?publicstringundefinedlibraries/models/src/wallet-account/index.ts:112
id?publicstring | numberundefinedlibraries/models/src/wallet-account/index.ts:106
indexpublicnull | numberundefinedlibraries/models/src/wallet-account/index.ts:105
is2FA?publicbooleanundefinedlibraries/models/src/wallet-account/index.ts:110
isMultisig?publicbooleanundefinedlibraries/models/src/wallet-account/index.ts:116
labelpublicstringundefinedlibraries/models/src/wallet-account/index.ts:107
lastConnected?publicnumberundefinedlibraries/models/src/wallet-account/index.ts:109
model?publicstringundefinedlibraries/models/src/wallet-account/index.ts:108
seedId?publicstringundefinedlibraries/models/src/wallet-account/index.ts:114
sourcepublicWalletAccountSourceundefinedlibraries/models/src/wallet-account/index.ts:104
DEFAULT_COLORSreadonlyReadonly<{ exodus: "#7b39ff"; ftx: "#00b4c2"; ledger: "#ffffff"; passkey: "#7b39ff"; seed: "#7b39ff"; trezor: "#30d968"; }>DEFAULT_COLORSlibraries/models/src/wallet-account/index.ts:95
DEFAULT_ICONSreadonlyReadonly<{ exodus: "exodus"; ftx: "ftx"; ledger: "ledger"; passkey: "exodus"; seed: "exodus"; trezor: "trezor"; }>DEFAULT_ICONSlibraries/models/src/wallet-account/index.ts:96
EXODUS_SRCreadonly"exodus"EXODUS_SRClibraries/models/src/wallet-account/index.ts:97
FTX_SRCreadonly"ftx"FTX_SRClibraries/models/src/wallet-account/index.ts:101
isInstancestatic(this, instance) => instance is WalletAccountundefinedlibraries/models/src/wallet-account/index.ts:189
LABEL_MAX_LENGTHreadonly100LABEL_MAX_LENGTHlibraries/models/src/wallet-account/index.ts:94
LEDGER_SRCreadonly"ledger"LEDGER_SRClibraries/models/src/wallet-account/index.ts:100
PASSKEY_SRCreadonly"passkey"PASSKEY_SRClibraries/models/src/wallet-account/index.ts:102
SEED_SRCreadonly"seed"SEED_SRClibraries/models/src/wallet-account/index.ts:98
TREZOR_SRCreadonly"trezor"TREZOR_SRClibraries/models/src/wallet-account/index.ts:99

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

ParameterType
otherWalletAccountWalletAccount

Returns

boolean


toJSON()

toJSON(): object

Defined in: libraries/models/src/wallet-account/index.ts:205

Returns

object

NameTypeDefined in
colorundefined | stringlibraries/models/src/wallet-account/index.ts:213
compatibilityModeundefined | stringlibraries/models/src/wallet-account/index.ts:216
enabledbooleanlibraries/models/src/wallet-account/index.ts:215
iconundefined | stringlibraries/models/src/wallet-account/index.ts:214
id?string | numberlibraries/models/src/wallet-account/index.ts:219
indexnull | numberlibraries/models/src/wallet-account/index.ts:208
is2FAundefined | booleanlibraries/models/src/wallet-account/index.ts:212
isMultisigundefined | booleanlibraries/models/src/wallet-account/index.ts:218
labelstringlibraries/models/src/wallet-account/index.ts:209
lastConnectedundefined | numberlibraries/models/src/wallet-account/index.ts:211
modelundefined | stringlibraries/models/src/wallet-account/index.ts:210
seedIdundefined | stringlibraries/models/src/wallet-account/index.ts:217
sourceWalletAccountSourcelibraries/models/src/wallet-account/index.ts:207

toRedactedJSON()

toRedactedJSON(): object

Defined in: libraries/models/src/wallet-account/index.ts:223

Returns

object

NameTypeDefined in
compatibilityModeundefined | stringlibraries/models/src/wallet-account/index.ts:231
enabledbooleanlibraries/models/src/wallet-account/index.ts:230
indexnull | numberlibraries/models/src/wallet-account/index.ts:226
is2FAundefined | booleanlibraries/models/src/wallet-account/index.ts:229
isMultisigundefined | booleanlibraries/models/src/wallet-account/index.ts:233
lastConnectedundefined | numberlibraries/models/src/wallet-account/index.ts:228
modelundefined | stringlibraries/models/src/wallet-account/index.ts:227
seedIdundefined | stringlibraries/models/src/wallet-account/index.ts:232
sourceWalletAccountSourcelibraries/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

ParameterType
dataPartial<WalletAccountParams | WalletAccount>

Returns

WalletAccount


[hasInstance]()

static [hasInstance](instance): instance is WalletAccount

Defined in: libraries/models/src/wallet-account/index.ts:191

Parameters

ParameterType
instanceunknown

Returns

instance is WalletAccount


defaultWith()

static defaultWith(params): WalletAccount

Defined in: libraries/models/src/wallet-account/index.ts:290

Parameters

ParameterType
paramsPartial<WalletAccountParams>

Returns

WalletAccount

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right