1 | import { SigningKey } from "../crypto/index.js";
|
2 | import type { SignatureLike } from "../crypto/index.js";
|
3 | import type { BytesLike } from "../utils/index.js";
|
4 | /**
|
5 | * Returns the address for the %%key%%.
|
6 | *
|
7 | * The key may be any standard form of public key or a private key.
|
8 | */
|
9 | export declare function computeAddress(key: string | SigningKey): string;
|
10 | /**
|
11 | * Returns the recovered address for the private key that was
|
12 | * used to sign %%digest%% that resulted in %%signature%%.
|
13 | */
|
14 | export declare function recoverAddress(digest: BytesLike, signature: SignatureLike): string;
|
15 | //# sourceMappingURL=address.d.ts.map |
\ | No newline at end of file |