zpywallet.broadcast.eth package

Submodules

zpywallet.broadcast.eth.all module

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

Broadcast a Ethereum transaction.

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

It can also be used to broadcast the transaction of any kind of EVM token.

Parameters:

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

tx_hash_eth(raw_transaction_hex)[source]

Calculate the hash of an Ethereum transaction.

This function can also be used to calculate the hash of any kind of EVM token.

Parameters:

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

zpywallet.broadcast.eth.blockcypher module

async broadcast_transaction_eth_blockcypher(raw_transaction_hex)[source]

Broadcast an Ethereum transaction using Blockcypher.

Parameters:

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

zpywallet.broadcast.eth.etherscan module

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

Broadcast an Ethereum transaction using Etherscan.

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

  • api_key (str) –

zpywallet.broadcast.eth.fullnode module

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

Broadcast an Ethereum transaction using a full node. :param raw_transaction_hex: The raw transaction in hexadecimal form. :type raw_transaction_hex: str :param url: The Web3 URL of the node. Include the port if necessary. :type url: str

zpywallet.broadcast.eth.mew module

async broadcast_transaction_eth_mew(raw_transaction_hex)[source]

Broadcast an Ethereum testnet transaction using MyEtherWallet (MEW).

Parameters:

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

Module contents