UNPKG

@ledgerhq/coin-hedera

Version:
7 lines 364 B
import { rpcClient } from "../network/rpc"; import { deserializeTransaction } from "./utils"; export const broadcast = async ({ configOrCurrencyId, txWithSignature, }) => { const transaction = deserializeTransaction(txWithSignature); return await rpcClient.broadcastTransaction({ configOrCurrencyId, transaction }); }; //# sourceMappingURL=broadcast.js.map