Skip to main content

Python library that leverages the 4byte.directory

Project description

py4byte

Library for using 4byte and blind-decoding of transactions and events

Functions

signatures(kwargs)

Resolve signatures using the 4byte directory.

Arguments

These are the same arguments for the 4byte.directory REST API

  • text_signature
  • text_signature__iexact
  • text_signature__contains
  • text_signature__icontains
  • text_signature__startswith
  • text_signature__istartswith
  • text_signature__endswith
  • text_signature__iendswith
  • hex_signature

receipt_events(receipt)

Given a Web3 or JSON-like transaction receipt, attempt to decode events to a text signature.

transaction_call(transaction)

Given a Web3 or JSON-like transaction, attempt to decode the function signature of a contract call.

Project details


Download files

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

Source Distribution

py4byte-0.1.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

py4byte-0.1.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file py4byte-0.1.5.tar.gz.

File metadata

  • Download URL: py4byte-0.1.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for py4byte-0.1.5.tar.gz
Algorithm Hash digest
SHA256 27eac5c195cc2009f773f471cb6828ae13124cf39c76335b18e037b4c6677e20
MD5 2b3244ed459d5fce07ca55e3f5fa065c
BLAKE2b-256 96fe1c10298beaec6d428654c2143e50ed222ef4005df56e0bb3697494998486

See more details on using hashes here.

File details

Details for the file py4byte-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: py4byte-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for py4byte-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ce5456eb133c254e3a2a67acd51483600063926ce5681e8cb99cde45fc6a0979
MD5 e0ebb0e5ea390913df064d07ffbdbe4c
BLAKE2b-256 f1e14fb0c69194f432bf758286ec2086281f92f3ee5633b853b64064749ed17c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page