Skip to content

Bitcoin-com/wallet_lib

Repository files navigation

Wallet lib

PyPI version

Description

This library contains classes to work with hot wallet for different cryptocurrency.

API Documentation

Supported cryptocurrencies

  1. BCH
  2. BTC
  3. DASH
  4. ZEC

Methods

  1. wallet.create_address(label=None) - creates an address (label is ignored for ZEC)
  2. wallet.get_balance() - returns the current balance
  3. wallet.get_transaction(tx_id) - returns transaction info by tx id
  4. wallet.get_transactions(label=None, count=25, offset=0) - returns list of transactions by label based on count and offset arguments.
  5. wallet.send(address, amount) - sends some amount to an address.
  6. wallet.get_transactions_since(blockhash=None, target_confirmations=1) - gets all transactions since block: blockhash, or all transactions if blockhash is None. target_confirmations return the nth from the best blockhash.
  7. wallet.run(command, *args) - runs a custom command with the arguments specified
  8. wallet.get_zmq_notifier(zmq_address, topics=[{ALL_TOPICS}], loop=None, verbose=False) - API for receiving topics from specified zmq address (ipc, tpc and udp supported).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages