zpywallet.broadcast.dash package

Submodules

zpywallet.broadcast.dash.all module

async broadcast_transaction_dash(raw_transaction_hex, **kwargs)[source]

Broadcast a Dash transaction.

This function attempts to asynchronously broadcast a signed transaction to several propagators that relay the transaction across the network.

Parameters:

raw_transaction_hex (str) – The raw transaction in hexadecimal form.

tx_hash_dash(raw_transaction_hex)[source]

Calculate the hash of a Dash transaction.

Parameters:

raw_transaction_hex (str) – The raw transaction in hexadecimal form.

zpywallet.broadcast.dash.blockcypher module

async broadcast_transaction_dash_blockcypher(raw_transaction_hex)[source]

Broadcast a Dash transaction using Blockcypher.

Parameters:

raw_transaction_hex (str) – The raw transaction in hexadecimal form.

zpywallet.broadcast.dash.fullnode module

async broadcast_transaction_dash_full_node(raw_transaction_hex, **kwargs)[source]

Broadcast a Dash transaction using a full node.

If the node requires authentication, both username and password must be passed.

Parameters:
  • raw_transaction_hex (str) – The raw transaction in hexadecimal form.

  • url (str) – The JSON-RPC URL of the node. Include the port if necessary.

  • username (str) – The RPC username.

  • password (str) – The RPC password.

Module contents