UNPKG

@ledgerhq/hw-app-hedera

Version:
27 lines 885 B
/// <reference types="node" /> /// <reference types="node" /> import type Transport from "@ledgerhq/hw-transport"; /** Hedera BOLOS API */ export default class Hedera { transport: Transport; constructor(transport: Transport, scrambleKey?: string); /** * Get a Hedera public key for a given BIP-32 path. * * Note that this does not return an address, nor is an account * address derivable from a public key on the Hedera network. * * @param path a path in BIP-32 format * @return the public key */ getPublicKey(path: string): Promise<string>; signTransaction(transaction: Uint8Array): Promise<Uint8Array>; /** * Serialize a BIP path to a data buffer, intended for * consumption by the Hedera BOLOS. * * @private */ _serializePath(path: number[]): Buffer; } //# sourceMappingURL=Hedera.d.ts.map