@th0masb/eth-client
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

eth-client

oclif Version Downloads/week License

Usage

$ npm install -g @th0masb/eth-client
$ eth-client COMMAND
e.g
$ eth-client (-v|--version|version)
$ eth-client --help
$ eth-client --help [COMMAND]
...

Commands

eth-client describe-tx TX

Displays raw information about a transaction given its hash

USAGE
  $ eth-client describe-tx TX

ARGUMENTS
  TX  The hash of the transaction to describe

OPTIONS
  -h, --help             show CLI help
  --network=(homestead)  [default: homestead]

See code: src/commands/describe-tx.ts

eth-client help [COMMAND]

display help for eth-client

USAGE
  $ eth-client help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

eth-client track-tx [ADDRESS]

Find transactions involving an address in a slice of blocks

USAGE
  $ eth-client track-tx [ADDRESS]

ARGUMENTS
  ADDRESS  The address to inspect transactions for

OPTIONS
  -h, --help                 show CLI help
  --concurrency=concurrency  [default: 10] Maximum number of concurrent requests for data fetching
  --end=end                  Index representing the exclusive end of the block range to query
  --network=(homestead)      [default: homestead] The network to search on
  --pretty                   Pretty print the json output instead of using ndjson
  --start=start              (required) Index representing the inclusive start of the block range to query

EXAMPLES
  $ eth-client track-tx --start -5 --concurrency 5
  $ eth-client track-tx 0xdAC17F958D2ee523a2206206994597C13D831ec7 --start 5 --end 10

See code: src/commands/track-tx.ts

Readme

Keywords

Package Sidebar

Install

npm i @th0masb/eth-client

Weekly Downloads

2

Version

0.2.5

License

MIT

Unpacked Size

14.9 kB

Total Files

16

Last publish

Collaborators

  • th0masb