(txhash)
| 317 | |
| 318 | # Gets a specific transaction |
| 319 | def bci_fetchtx(txhash): |
| 320 | if isinstance(txhash, list): |
| 321 | return [bci_fetchtx(h) for h in txhash] |
| 322 | if not re.match('^[0-9a-fA-F]*$', txhash): |
| 323 | txhash = txhash.encode('hex') |
| 324 | data = make_request('https://blockchain.info/rawtx/'+txhash+'?format=hex') |
| 325 | return data |
| 326 | |
| 327 | |
| 328 | def blockr_fetchtx(txhash, network='btc'): |
nothing calls this directly
no test coverage detected