UNPKG

@thorwallet/xchain-bitcoincash

Version:

Custom bitcoincash client and utilities used by XChainJS clients

10 lines (9 loc) 298 B
import { TxBroadcastParams } from './types'; /** * Broadcast transaction. * * @see https://developer.bitcoin.org/reference/rpc/sendrawtransaction.html * * @returns {string} Transaction ID. */ export declare const broadcastTx: ({ txHex, auth, nodeUrl }: TxBroadcastParams) => Promise<string>;