UNPKG

@pokt-network/pocket-js

Version:

Pocket-js core package with the main functionalities to interact with the Pocket Network.

20 lines (19 loc) 601 B
/// <reference types="node" /> import { PosmintStdSignature } from "@pokt-network/amino-js/types/src/types/pocket"; /** * Represents a given signature for a Transaction */ export declare class TxSignature { readonly pubKey: Buffer; readonly signature: Buffer; private readonly PUBLIC_KEY_TYPE; /** * @param pubKey {Buffer} public key of the signer * @param signature {Buffer} the signature */ constructor(pubKey: Buffer, signature: Buffer); /** * Encodes the object to it's Amino encodable form */ toPosmintStdSignature(): PosmintStdSignature; }