UNPKG

@pokt-network/pocket-js

Version:

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

24 lines (23 loc) 833 B
/// <reference types="node" /> import { IAminoEncodable } from "./amino-encodable"; import { StdSignDoc } from "./std-sign-doc"; import { TxSignature } from "./tx-signature"; /** * Represents a StdTx object to send a Transaction */ export declare class StdTx implements IAminoEncodable { private readonly AMINO_TYPE; private readonly stdSignDoc; private readonly signature; /** * @param stdSignDoc {StdSignDoc} The model form which the bytes for signature were produced * @param signature {TxSignature} The signature for this transaction */ constructor(stdSignDoc: StdSignDoc, signature: TxSignature); /** * Marshal the StdTx class properties with amino * @returns {Buffer} - Buffer representation of the marshal object. * @memberof StdTx */ marshalAmino(): Buffer; }