Files
pezkuwi-common/packages/keyring/cjs/pair/toJson.d.ts
T

9 lines
372 B
TypeScript

import type { KeypairType } from '@pezkuwi/util-crypto/types';
import type { KeyringPair$Json, KeyringPair$Meta } from '../types.js';
interface PairStateJson {
address: string;
meta: KeyringPair$Meta;
}
export declare function pairToJson(type: KeypairType, { address, meta }: PairStateJson, encoded: Uint8Array, isEncrypted: boolean): KeyringPair$Json;
export {};