Skip to content

mikeshultz/py4byte

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages