class Keyring
implements KeyringInstance
import { Keyring } from "https://dotland.deno.dev/x/polkadot@0.2.38/keyring/keyring.ts";
@polkadot/keyring
Overview
Constructors
new
Keyring(options?: KeyringOptions)Properties
readonly
pairs: KeyringPair[]readonly
type: KeypairTypeMethods
addFromAddress(): KeyringPair
address: string | Uint8Array,
meta?: KeyringPair$Meta,
encoded?: Uint8Array | null,
type?: KeypairType,
ignoreChecksum?: boolean,
encType?: EncryptedJsonEncoding[],
addFromJson(json: KeyringPair$Json, ignoreChecksum?: boolean): KeyringPair
addPair(pair: KeyringPair): KeyringPair
createFromJson(unnamed 0: KeyringPair$Json, ignoreChecksum?: boolean): KeyringPair
getPair(address: string | Uint8Array): KeyringPair
getPairs(): KeyringPair[]
getPublicKeys(): Uint8Array[]
removePair(address: string | Uint8Array): void
setSS58Format(ss58: number): void
toJson(address: string | Uint8Array, passphrase?: string): KeyringPair$Json