UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

8 lines (7 loc) 260 B
export declare class BitcoinUtils { static btcToSatoshi(btc: number): bigint; static rndBytes(): Buffer; static getSafeRandomValues(length: number): Buffer; static isValidHex(hex: string): boolean; static opnetHash(data: Buffer): string; }