bitcoinlib.services.dashd module

exception bitcoinlib.services.dashd.ConfigError(msg='')[source]

Bases: Exception

class bitcoinlib.services.dashd.DashdClient(network='dash', base_url='', denominator=100000000, *args)[source]

Bases: bitcoinlib.services.baseclient.BaseClient

Class to interact with dashd, the Dash deamon

Open connection to dashcore node

Parameters:
  • network – Dash mainnet or testnet. Default is dash mainnet
  • base_url – Connection URL in format http(s)://user:password@host:port.
  • denominator – Denominator for this currency. Should be always 100000000 (satoshis) for Dash
Type:

str

Type:

str

Type:

str

block_count()[source]
estimatefee(blocks)[source]
static from_config(network='dash')[source]

Read settings from dashd config file

Parameters:
  • configfile – Path to config file. Leave empty to look in default places
  • network – Dash mainnet or testnet. Default is dash mainnet
Type:

str

Type:

str

Return DashdClient:
 
getrawtransaction(txid)[source]
gettransaction(txid)[source]
sendrawtransaction(rawtx)[source]