@pokt-network/pocket-js
Version:
Pocket-js core package with the main functionalities to interact with the Pocket Network.
23 lines (22 loc) • 479 B
TypeScript
/**
*
* EvidenceType enum with the possible evidence types
*/
export declare enum EvidenceType {
Relay = 0,
Challenge = 1
}
/**
*
* EvidenceType enum utility
*/
export declare namespace EvidenceType {
/**
*
* Returns the EvidenceType by passing an string
* @param {string} type - Evidence type string.
* @returns {EvidenceType} - EvidenceType object.
* @memberof EvidenceType
*/
function getType(type: number): EvidenceType;
}