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

blockcount()[source]
estimatefee(blocks)[source]
static from_config(configfile=None, 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

getblock(blockid, parse_transactions=True, page=1, limit=None)[source]
getinfo()[source]
getrawblock(blockid)[source]
getrawtransaction(txid)[source]
gettransaction(txid)[source]
getutxos(address, after_txid='', limit=20)[source]
isspent(txid, index)[source]
sendrawtransaction(rawtx)[source]