UNPKG

navio-blsct

Version:

TypeScript bindings for the `libblsct` library used by the [Navio](https://nav.io/) blockchain to construct confidential transactions based on the BLS12-381 curve.

14 lines (13 loc) 475 B
import { ManagedObj } from './managedObj'; export declare class TokenId extends ManagedObj { constructor(obj: any); static default(): TokenId; static fromToken(token: number): TokenId; static fromTokenAndSubid(token: number, subid: number): TokenId; getToken(): number; getSubid(): number; equals(other: TokenId): boolean; value(): any; serialize(): string; static deserialize(this: new (obj: any) => TokenId, hex: string): TokenId; }