Get detailed information about in-wallet transaction txid Raises IndexError if transaction not found in the wallet. FIXME: Returned data types are not yet converted.
(self, txid)
| 621 | return int(r * COIN) |
| 622 | |
| 623 | def gettransaction(self, txid): |
| 624 | """Get detailed information about in-wallet transaction txid |
| 625 | |
| 626 | Raises IndexError if transaction not found in the wallet. |
| 627 | |
| 628 | FIXME: Returned data types are not yet converted. |
| 629 | """ |
| 630 | try: |
| 631 | r = self._call('gettransaction', b2lx(txid)) |
| 632 | except InvalidAddressOrKeyError as ex: |
| 633 | raise IndexError('%s.getrawtransaction(): %s (%d)' % |
| 634 | (self.__class__.__name__, ex.error['message'], ex.error['code'])) |
| 635 | return r |
| 636 | |
| 637 | def gettxout(self, outpoint, includemempool=True): |
| 638 | """Return details about an unspent transaction output. |