0.0.11 • Published 4 years ago

ethereum-txn-status v0.0.11

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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

0.0.11

4 years ago

0.0.1

4 years ago