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.
17 lines (16 loc) • 509 B
TypeScript
import { CTxId } from './ctxId';
import { CTxIn } from './ctxIn';
import { CTxOut } from './ctxOut';
import { ManagedObj } from './managedObj';
import { TxIn } from './txIn';
import { TxOut } from './txOut';
export declare class CTx extends ManagedObj {
constructor(obj: any);
static generate(srcTxIns: TxIn[], srcTxOuts: TxOut[]): CTx;
value(): any;
getCTxId(): CTxId;
getCTxIns(): CTxIn[];
getCTxOuts(): CTxOut[];
serialize(): string;
static deserialize(hex: string): CTx;
}