Current collected state Current
Observed since 20 Oct, 23:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0xdeepak/transaction-monitor
Simple Ethereum transaction monitor for transaction status polling. Blockwise Ethereum transaction monitor API for React and Javascript applications to track transaction status in certain block number.
Simple Ethereum transaction monitor for transaction status polling. Blockwise Ethereum transaction monitor API for React and Javascript applications to track transaction status in certain block number.
import checkTransactionStatus from "@0xdeepak/transaction-monitor"
// OR
const checkTransactionStatus = require("@0xdeepak/transaction-monitor")
async function checkStatus() {
// add your transaction hash
const res = await checkTransactionStatus({txnHash:'0x......',chainId:137,maxConfirmationBlocks?:50})
// res
{
status: "txConfirmed" | "txRequested" | "txFailed",
message: "Transaction is pending",
receipt?: Object
}
}
| Paramter | Type | Description |
|---|---|---|
txnHash | string | Transaction has to be tracked. |
chainId | number | Transaction chain id |
maxConfirmationBlocks | number | It is option field, default value is 50 blocks. |
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
web3Environment{
"local_name": "web3",
"alias": false,
"peer_metadata": null
} | ^1.8.0 | runtime |
Source distribution
{
"integrity": "sha512-MUX4Jd0SDCqZ8IYO8ri3n2Loj30NWTt1zmiWIGFl1YjZBbg9yGyDls9jGPcudte836KQmsfVd5HYGFxLnDgYUA==",
"shasum": "db61df7fdfdae7e241404abfbe96bd29b2b78bd4",
"tarball": "https://registry.npmjs.org/@0xdeepak/transaction-monitor/-/transaction-monitor-1.0.2.tgz",
"fileCount": 5,
"unpackedSize": 3252,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIB83P2itRhCvAhn/lgp9n5L/T3cr6HhqR5koyNx5wVHRAiAQLYLpwoDNnGzqOI3HButcO1F8fB6zMsoAimI/PfGUBw=="
}
]
}Observed since 20 Oct, 23:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c6dfc1ffe7c1956b842f900f7c1ee995e8d6fcc13041000388852393abda94de