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.

19 lines (18 loc) 681 B
import { TxOutputType } from './blsct'; import { ManagedObj } from './managedObj'; import { SubAddr } from './subAddr'; import { TokenId } from './tokenId'; export declare class TxOut extends ManagedObj { constructor(obj: any); static generate(subAddr: SubAddr, amount: number, memo: string, tokenId?: TokenId, outputType?: TxOutputType, minStake?: number): TxOut; value(): any; getDestination(): SubAddr; getAmount(): number; getMemo(): string; getTokenId(): TokenId; getOutputType(): TxOutputType; getMinStake(): number; clone(): TxOut; serialize(): string; static deserialize(this: new (obj: any) => TxOut, hex: string): TxOut; }