zpywallet.broadcast.btctest package

Submodules

zpywallet.broadcast.btctest.all module

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

Broadcast a Bitcoin testnet 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_btctest(raw_transaction_hex)[source]

Calculate the hash of a Bitcoin testnet transaction.

Parameters:

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

zpywallet.broadcast.btctest.bitaps module

async broadcast_transaction_btctest_bitaps(raw_transaction_hex)[source]

Broadcast a Bitcoin testnet transaction using Bitaps.

Parameters:

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

zpywallet.broadcast.btctest.blockchair module

async broadcast_transaction_btctest_blockchair(raw_transaction_hex)[source]

Broadcast a Bitcoin testnet transaction using Blockchair.

Parameters:

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

zpywallet.broadcast.btctest.blockcypher module

async broadcast_transaction_btctest_blockcypher(raw_transaction_hex)[source]

Broadcast a Bitcoin testnet transaction using Blockcypher.

Parameters:

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

zpywallet.broadcast.btctest.blockstream module

async broadcast_transaction_btctest_blockstream(raw_transaction_hex)[source]

Broadcast a Bitcoin testnet transaction using Blockstream.

Parameters:

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

zpywallet.broadcast.btctest.esplora module

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

Broadcast a Bitcoin testnet transaction using an Esplora node.

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

  • esplora_url (str) – The Esplora endpoint URL.

zpywallet.broadcast.btctest.fullnode module

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

Broadcast a Bitcoin testnet 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.

zpywallet.broadcast.btctest.mempool_space module

async broadcast_transaction_btctest_mempool_space(raw_transaction_hex)[source]

Broadcast a Bitcoin testnet transaction using Mempool.space.

Parameters:

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

Module contents