@pokt-network/pocket-js
Version:
Pocket-js core package with the main functionalities to interact with the Pocket Network.
49 lines (48 loc) • 1.35 kB
TypeScript
import { MsgClaim } from "./msg-claim";
/**
*
*
* @class QueryNodeClaimResponse
*/
export declare class QueryNodeClaimResponse {
/**
*
* Creates a QueryNodeClaimResponse object using a JSON string
* @param {String} json - JSON string.
* @returns {QueryNodeClaimResponse} - QueryNodeClaimResponse object.
* @memberof QueryNodeClaimResponse
*/
static fromJSON(json: string): QueryNodeClaimResponse;
readonly msgClaim: MsgClaim;
/**
* Query Node Claim Response.
* @constructor
* @param {MsgClaim} msgClaim - Message claim object.
*/
constructor(msgClaim: MsgClaim);
/**
*
* Creates a JSON object with the QueryNodeClaimResponse properties
* @returns {JSON} - JSON Object.
* @memberof QueryNodeClaimResponse
*/
toJSON(): {
header: {
app_public_key: string;
chain: string;
session_height: number;
};
merkle_root: import("./msg-claim").HashSum;
total_proofs: number;
from_address: string;
evidence_type: import("..").EvidenceType;
expiration_height: number;
};
/**
*
* Check if the QueryNodeClaimResponse object is valid
* @returns {boolean} - True or false.
* @memberof QueryNodeClaimResponse
*/
isValid(): boolean;
}