zpywallet.broadcast.btc package
Submodules
zpywallet.broadcast.btc.all module
- async broadcast_transaction_btc(raw_transaction_hex, **kwargs)[source]
Broadcast a Bitcoin 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.
zpywallet.broadcast.btc.bitaps module
zpywallet.broadcast.btc.blockchain_info module
zpywallet.broadcast.btc.blockchair module
zpywallet.broadcast.btc.blockcypher module
zpywallet.broadcast.btc.blockstream module
zpywallet.broadcast.btc.esplora module
zpywallet.broadcast.btc.fullnode module
- async broadcast_transaction_btc_full_node(raw_transaction_hex, **kwargs)[source]
Broadcast a Bitcoin 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.