cosmos-explorer/packages/codegen/dist/tendermint/crypto/keys.d.ts
2023-03-02 13:21:24 +08:00

18 lines
657 B
TypeScript

import * as _m0 from "protobufjs/minimal";
import { DeepPartial } from "../../helpers";
/** PublicKey defines the keys available for use with Tendermint Validators */
export interface PublicKey {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
}
/** PublicKey defines the keys available for use with Tendermint Validators */
export interface PublicKeySDKType {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
}
export declare const PublicKey: {
encode(message: PublicKey, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey;
fromPartial(object: DeepPartial<PublicKey>): PublicKey;
};