Miss any of our Open RFC calls?Watch the recordings here! »

ethereum-txn-status

0.0.11 • Public • Published

Ethereum-txn-status

NPM JavaScript Style Guide

Install

npm install --save ethereum-txn-status

Usage

import React, { Component } from 'react'
 
import TransactionStatus from 'ethereum-txn-status'
 
class Example extends Component {
  render () {
    return (
      <TransactionStatus transaction_hash={tx_hash} dfuse_api_key={dfuse_key} network={"ropsten"}/>
    )
  }
}

alt text

Props

transaction_hash (Required) : The hash of the transaction that you want to track.

If you want to track the hash of a recently made transaction, use the hash provided in the web3 sendTransaction callback.(See example for more details)

dfuse_api_key (Required):The API key to query the Ethereum blockchain with. 

A free API key can be obtained here

Network (Optional): mainnet or ropsten

The default is mainnet,

License

MIT © pRoy24

ethereum-txn-status

Keywords

none

Install

npm i ethereum-txn-status

DownloadsWeekly Downloads

2

Version

0.0.11

License

MIT

Unpacked Size

2.2 MB

Total Files

6

Last publish

Collaborators

  • avatar