bitcoinlib.services.dogecoind module

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

Bases: Exception

class bitcoinlib.services.dogecoind.DogecoindClient(network='dogecoin', base_url='', denominator=100000000, *args)[source]

Bases: BaseClient

Class to interact with dogecoind, the Dogecoin daemon

Open connection to dogecoin node

Parameters:
  • network – Dogecoin mainnet or testnet. Default is dogecoin mainnet

  • base_url – Connection URL in format http(s)://user:password@host:port.

  • denominator – Denominator for this currency. Should be always 100000000 (satoshis) for dogecoin

Type:

str

Type:

str

Type:

str

blockcount()[source]
estimatefee(blocks)[source]
static from_config(configfile=None, network='dogecoin', **kargs)[source]

Read settings from dogecoind config file

Parameters:
  • configfile – Path to config file. Leave empty to look in default places

  • network – Dogecoin mainnet or testnet. Default is dogecoin mainnet

Type:

str

Type:

str

Return DogecoindClient:

getinfo()[source]
getrawtransaction(txid)[source]
gettransaction(txid, block_height=None, get_input_values=True)[source]
getutxos(address, after_txid='', max_txs=20)[source]
mempool(txid='')[source]
sendrawtransaction(rawtx)[source]