Guides
Dash CoreDash PlatformDash.orgDash User DocsLog In

broadcastTransaction

🚧

New site!

All content has been migrated to docs.dash.org. You will be automatically redirected momentarily.

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).