@pokt-network/pocket-js
Version:
Pocket-js core package with the main functionalities to interact with the Pocket Network.
23 lines (22 loc) • 727 B
TypeScript
/**
* A model representing a log generated from a Transaction
*/
export declare class TxLog {
/**
* Construct this object from it's JSON representation
* @param txLogObj {any}
* @returns {TxLog | Error}
* @memberof TxLog
*/
static fromJSONObj(txLogObj: any): TxLog | Error;
readonly msgIndex: BigInt;
readonly success: boolean;
readonly log: string;
/**
* Constructor for this class
* @param msgIndex {BigInt} index for this log in the logs list
* @param success {boolean} whether or not this message was processed succesfully
* @param log {string} The content of the log message
*/
constructor(msgIndex: BigInt, success: boolean, log: string);
}