Skip to main content

Capture and decode (Ethereum) JSON RPC traffic

Project description

[![Build Status](](

# rpc-sniffer This tool captures network traffic and decode them if they contain (Ethereum) JSON RPC. This might be useful in the following scenarios:

  • You want to know the exact RPC requests and responses sent to and from your Ethereum node.
  • You want to debug and understand what web3 sends out.
  • You want to capture the contents web3 sends out in order to use them in a different program.

# Installation

The following assumes you already have Python virtualenv activated. If not you may need to add sudo in front of the command and the pip command.

  • Via the script

` git clone cd rpc-sniffer python install `

  • Or via pip

` pip install rpcsniffer `

# Usage TODO

# Limitations

  • This tool does not support encrypted SSL traffic (e.g. when you interact with an node).
  • This tool does not support RPC traffic that spans multiple packets (development is in progress for this feature).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rpcsniffer, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size rpcsniffer-0.1.1-py2.py3-none-any.whl (5.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size rpcsniffer-0.1.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page