@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
22 lines • 825 B
text/typescript
import type { Bip32Entropy } from "../permissions.cjs";
/**
* An object containing the parameters for the `snap_getBip32PublicKey` method.
*/
export type GetBip32PublicKeyParams = Bip32Entropy & {
/**
* Whether to return the compressed public key. Defaults to `false`.
*/
compressed?: boolean;
/**
* The ID of the entropy source to use. If not specified, the primary entropy
* source will be used. For a list of available entropy sources, see the
* `snap_listEntropySources` method.
*/
source?: string | undefined;
};
/**
* The public key as hexadecimal string. May be compressed or uncompressed
* depending on the `compressed` parameter provided in the request parameters.
*/
export type GetBip32PublicKeyResult = string;
//# sourceMappingURL=get-bip32-public-key.d.cts.map