UNPKG

370 BTypeScriptView Raw
1import type { KeypairType } from '@polkadot/util-crypto/types';
2import type { KeyringPair$Json, KeyringPair$Meta } from '../types';
3interface PairStateJson {
4 address: string;
5 meta: KeyringPair$Meta;
6}
7export declare function pairToJson(type: KeypairType, { address, meta }: PairStateJson, encoded: Uint8Array, isEncrypted: boolean): KeyringPair$Json;
8export {};