JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q42127F
  • License ISC

Keep tracking transaction status of ethereum

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 Transaction service 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)