casper-js-sdk
Version:
SDK to interact with the Casper blockchain
13 lines (12 loc) • 368 B
TypeScript
export declare class IDValue {
intValue: number | null;
strValue: string | null;
isIntValue: boolean;
constructor(value: string | number);
static fromString(value: string): IDValue;
static fromInt(value: number): IDValue;
toString(): string;
toInt(): number;
toJSON(): string;
static fromJSON(data: string | number): IDValue;
}