UNPKG

@radixdlt/radix-engine-toolkit

Version:

A TypeScript wrapper for the Radix Engine Toolkit that provides many of the necessary tools to interact with the Radix ledger

62 lines (61 loc) 1.96 kB
import { Curve } from "../.."; import { Bytes } from "./utils"; export declare abstract class Signature { abstract readonly curve: Curve; abstract readonly bytes: Uint8Array; static Secp256k1: { new (bytes: Bytes): { readonly curve: Curve; readonly bytes: Uint8Array; rawBytes: () => Uint8Array; hexString: () => string; toString: () => string; hex: () => string; readonly signature: Uint8Array; }; Secp256k1: /*elided*/ any; Ed25519: { new (bytes: Bytes): { readonly curve: Curve; readonly bytes: Uint8Array; rawBytes: () => Uint8Array; hexString: () => string; toString: () => string; hex: () => string; readonly signature: Uint8Array; }; Secp256k1: /*elided*/ any; Ed25519: /*elided*/ any; }; }; static Ed25519: { new (bytes: Bytes): { readonly curve: Curve; readonly bytes: Uint8Array; rawBytes: () => Uint8Array; hexString: () => string; toString: () => string; hex: () => string; readonly signature: Uint8Array; }; Secp256k1: { new (bytes: Bytes): { readonly curve: Curve; readonly bytes: Uint8Array; rawBytes: () => Uint8Array; hexString: () => string; toString: () => string; hex: () => string; readonly signature: Uint8Array; }; Secp256k1: /*elided*/ any; Ed25519: /*elided*/ any; }; Ed25519: /*elided*/ any; }; rawBytes: () => Uint8Array; hexString: () => string; toString: () => string; hex: () => string; get signature(): Uint8Array; }