@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
5 lines (4 loc) • 352 B
TypeScript
import { Signer, SignerResponse } from "../";
export type SignatureSource<T> = Signer | T | SignatureFunction<T>;
export type SignatureFunction<T> = (messageHash: Uint8Array) => T;
export declare const resolveSignatureSource: <T>(source: SignatureSource<T>, messageHash: Uint8Array, signerResponseCallback: (signerResponse: SignerResponse) => T) => T;