UNPKG

@routerprotocol/chain-api

Version:

Router Chain API Query client with generated gRPC bindings.

52 lines (43 loc) 1.91 kB
// package: cosmos.crypto.ed25519 // file: cosmos/crypto/ed25519/keys.proto import * as jspb from "google-protobuf"; import * as amino_amino_pb from "../../../amino/amino_pb"; import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb"; export class PubKey extends jspb.Message { getKey(): Uint8Array | string; getKey_asU8(): Uint8Array; getKey_asB64(): string; setKey(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PubKey.AsObject; static toObject(includeInstance: boolean, msg: PubKey): PubKey.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: PubKey, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): PubKey; static deserializeBinaryFromReader(message: PubKey, reader: jspb.BinaryReader): PubKey; } export namespace PubKey { export type AsObject = { key: Uint8Array | string, } } export class PrivKey extends jspb.Message { getKey(): Uint8Array | string; getKey_asU8(): Uint8Array; getKey_asB64(): string; setKey(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PrivKey.AsObject; static toObject(includeInstance: boolean, msg: PrivKey): PrivKey.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: PrivKey, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): PrivKey; static deserializeBinaryFromReader(message: PrivKey, reader: jspb.BinaryReader): PrivKey; } export namespace PrivKey { export type AsObject = { key: Uint8Array | string, } }