MCPcopy
hub / github.com/petertodd/python-bitcoinlib / getaccountaddress

Method getaccountaddress

bitcoin/rpc.py:433–437  ·  view source on GitHub ↗

Return the current Bitcoin address for receiving payments to this account.

(self, account=None)

Source from the content-addressed store, hash-verified

431 return (lx(blk_hash) for blk_hash in r)
432
433 def getaccountaddress(self, account=None):
434 """Return the current Bitcoin address for receiving payments to this
435 account."""
436 r = self._call('getaccountaddress', account)
437 return CBitcoinAddress(r)
438
439 def getbalance(self, account='*', minconf=1, include_watchonly=False):
440 """Get the balance

Callers

nothing calls this directly

Calls 2

CBitcoinAddressClass · 0.90
_callMethod · 0.45

Tested by

no test coverage detected