Guides
Dash CoreDash PlatformDash.orgDash User DocsLog In
These docs are for v0.24.0. Click to read the latest docs for v0.25-redirect.

broadcastTransaction

Usage: await client.core.broadcastTransaction(transaction)
Description: Allow to broadcast a valid signed transaction to the network.

Parameters:

parameterstyperequiredDescription
transactionBufferyesA valid Buffer representation of a transaction
optionsObject
options.allowHighFeesBooleanno[=false]As safety measure, "absurd" fees are rejected when considered to high. This allow to overwrite that comportement
options.bypassLimitsBooleanno[=false]Allow to bypass default transaction policy rules limitation

Returns : transactionId (string).

N.B : The TransactionID provided is subject to transaction malleability, and is not a source of truth (the transaction might be included in a block with a different txid).