zpywallet.broadcast.ltc package

Submodules

zpywallet.broadcast.ltc.all module

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

Broadcast a Litecoin 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_ltc(raw_transaction_hex)[source]

Calculate the hash of a Litecoin transaction.

Parameters:

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

zpywallet.broadcast.ltc.blockchair module

async broadcast_transaction_ltc_blockchair(raw_transaction_hex)[source]

Broadcast a Litecoin transaction using Blockchair.

Parameters:

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

zpywallet.broadcast.ltc.blockcypher module

async broadcast_transaction_ltc_blockcypher(raw_transaction_hex)[source]

Broadcast a Litecoin transaction using Blockcypher.

Parameters:

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

zpywallet.broadcast.ltc.fullnode module

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

Broadcast a Litecoin 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