UNPKG
eth-ear
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.1
1.0.0
Ethereum blockchain event and transaction listener.
github.com/yaneshcode/eth-ear
yaneshcode/eth-ear
eth-ear
/
test
/
testTx.js
9 lines
(5 loc)
•
241 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
// Transaction listener on Kovan
const
ear =
require
(
'../index.js'
);
// A random transaction that has been mined
let
txHash =
"0x0b58501727af1a6656fba1ce10ddfa7b5542bb279254fe0ae7b0926c66e93ff8"
; ear.
transactionListener
(txHash,
'kovan'
);