跳转到主要内容

利用4byte.directory的Python库

项目描述

py4byte

用于使用4byte和盲解码交易和事件的库

函数

signatures(kwargs)

使用4byte目录解析签名。

参数

这些参数与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)

给定一个Web3或类似JSON的交易收据,尝试将事件解码为文本签名。

transaction_call(transaction)

给定一个Web3或类似JSON的交易,尝试解码合约调用的函数签名。

由以下提供支持