@pokt-network/pocket-js
Version:
Pocket-js core package with the main functionalities to interact with the Pocket Network.
45 lines (44 loc) • 1.31 kB
TypeScript
import { ApplicationParams } from "../application-params";
/**
*
*
* @class QueryAppParamsResponse
*/
export declare class QueryAppParamsResponse {
/**
*
* Creates a QueryAppParamsResponse object using a JSON string
* @param {String} json - JSON string.
* @returns {QueryAppParamsResponse} - QueryAppParamsResponse object.
* @memberof QueryAppParamsResponse
*/
static fromJSON(json: string): QueryAppParamsResponse;
readonly applicationParams: ApplicationParams;
/**
* QueryAppParamsResponse
* @constructor
* @param {ApplicationParams} applicationParams - Application params.
*/
constructor(applicationParams: ApplicationParams);
/**
*
* Creates a JSON object with the QueryAppParamsResponse properties
* @returns {JSON} - JSON Object.
* @memberof QueryAppParamsResponse
*/
toJSON(): {
app_stake_minimum: number;
base_relays_per_pokt: number;
max_applications: number;
participation_rate_on: boolean;
stability_adjustment: number;
unstaking_time: string;
};
/**
*
* Check if the QueryAppParamsResponse object is valid
* @returns {boolean} - True or false.
* @memberof QueryAppParamsResponse
*/
isValid(): boolean;
}