@pokt-network/pocket-js
Version:
Pocket-js core package with the main functionalities to interact with the Pocket Network.
37 lines (36 loc) • 1.08 kB
TypeScript
/**
*
*
* @class QuerySupportedChainsResponse
*/
export declare class QuerySupportedChainsResponse {
/**
*
* Creates a QuerySupportedChainsResponse object using a JSON string
* @param {String} json - JSON string.
* @returns {QuerySupportedChainsResponse} - QuerySupportedChainsResponse object.
* @memberof QuerySupportedChainsResponse
*/
static fromJSON(json: string): QuerySupportedChainsResponse;
readonly supportedChains: string[];
/**
* QuerySupportedChainsResponse
* @constructor
* @param {string[]} supportedChains - Supported chains string array.
*/
constructor(supportedChains: string[]);
/**
*
* Creates a JSON object with the QuerySupportedChainsResponse properties
* @returns {JSON} - JSON Object.
* @memberof QuerySupportedChainsResponse
*/
toJSON(): string[];
/**
*
* Check if the QuerySupportedChainsResponse object is valid
* @returns {boolean} - True or false.
* @memberof QuerySupportedChainsResponse
*/
isValid(): boolean;
}