(block_height, block_hash)
| 26 | |
| 27 | const listeners = { |
| 28 | ChainTip (block_height, block_hash) { |
| 29 | console.log(`chain tip updated to ${block_height} ${block_hash}`) |
| 30 | }, |
| 31 | |
| 32 | async Transaction (txid, block_height) { |
| 33 | const tx = await bwt('tx', txid) |