UNPKG

@ledgerhq/coin-hedera

Version:
16 lines 744 B
import type { Transaction as HederaTransaction, TransactionResponse } from "@hashgraph/sdk"; import { Client } from "@hashgraph/sdk"; import type { HederaCoinConfig } from "../config"; declare function broadcastTransaction({ configOrCurrencyId, transaction, }: { configOrCurrencyId: HederaCoinConfig | string; transaction: HederaTransaction; }): Promise<TransactionResponse>; declare function getInstance(configOrCurrencyId: HederaCoinConfig | string): Promise<Client>; declare function _resetInstance(): Promise<void>; export declare const rpcClient: { getInstance: typeof getInstance; broadcastTransaction: typeof broadcastTransaction; _resetInstance: typeof _resetInstance; }; export {}; //# sourceMappingURL=rpc.d.ts.map