Package Exports
- tx-inspection
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tx-inspection) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
#BAP CHALLENGE PRODUCT
In order to use this package, first of all, you need to install
npm i tx-inspection
Create instance from tx-inspection , for example :
const tx = require('tx-inspection')
First, you need to have instance of ManagerService class,using wss://rinkeby.infura.io/ws for web3 provider:
let inspect = new tx.TransactionService(provider)
###You can also check status of an transaction with :
let status = await inspect.checkStatusTransaction(txHash)
###You can also check status of create new contract challenge with :
let status = await mn.checkStatusCreated(txHash)