Skip to Content

KeyIdentifier

class

KeyIdentifier

Constructor

constructor
KeyIdentifier(params: ConstructorParams): KeyIdentifier

Parameters:

Properties

assetName?
string
derivationAlgorithm
derivationPath
string
keyType

Methods

derive
derive(pathLike: string | PathIndex[]): KeyIdentifier
Returns a new KeyIdentifier instance that has an updated derivation path extended with the path indices or partial derivation path supplied to this method

Parameters:

pathLike: string | PathIndex[]
getPath
getPath(): DerivationPath

Returns:

DerivationPath
toJSON
toJSON(): any

Returns:

any
toString
toString(): string

Returns:

string
compare
compare(a: KeyIdentifierLike, b: KeyIdentifierLike): boolean

Returns:

boolean
validate
validate(potentialKeyIdentifier: KeyIdentifierLike): boolean

Parameters:

potentialKeyIdentifier: KeyIdentifierLike

Returns:

boolean

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help