UNPKG

@xchainjs/xchain-litecoin

Version:

Custom Litecoin client and utilities used by XChainJS clients

10 lines (9 loc) 440 B
import { BroadcastTxParams } from './types/common'; /** * Broadcasts a transaction to the blockchain network. * * @see https://developer.bitcoin.org/reference/rpc/sendrawtransaction.html * @param {BroadcastTxParams} params Parameters for broadcasting the transaction. * @returns {Promise<string>} The transaction ID if successful. */ export declare const broadcastTx: ({ txHex, auth, nodeUrl }: BroadcastTxParams) => Promise<string>;