@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
42 lines (41 loc) • 1.35 kB
TypeScript
import { Curve } from "../..";
import { Bytes } from "./utils";
export declare abstract class SignatureWithPublicKey {
abstract readonly curve: Curve;
abstract readonly signature: Uint8Array;
abstract readonly publicKey: Uint8Array | undefined;
static Secp256k1: {
new (signature: Bytes): {
readonly curve: Curve;
readonly signature: Uint8Array;
readonly publicKey: undefined;
};
Secp256k1: /*elided*/ any;
Ed25519: {
new (signature: Bytes, publicKey: Bytes): {
readonly curve: Curve;
readonly signature: Uint8Array;
readonly publicKey: Uint8Array;
};
Secp256k1: /*elided*/ any;
Ed25519: /*elided*/ any;
};
};
static Ed25519: {
new (signature: Bytes, publicKey: Bytes): {
readonly curve: Curve;
readonly signature: Uint8Array;
readonly publicKey: Uint8Array;
};
Secp256k1: {
new (signature: Bytes): {
readonly curve: Curve;
readonly signature: Uint8Array;
readonly publicKey: undefined;
};
Secp256k1: /*elided*/ any;
Ed25519: /*elided*/ any;
};
Ed25519: /*elided*/ any;
};
}