Transpose-decoding-sdk

Latest version: v1.0.5

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.3

Added `order` field for streaming calls and events in reverse order. For example, to stream two batches of calls to the WETH contract from the latest block, in reverse order:

python
contract = TransposeDecodedContract(
contract_address='0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
abi_path='abi/weth-abi.json',
chain='ethereum',
api_key=api_key
)

stream = contract.stream_calls(order='desc')
stream.next(10) latest 10 calls
stream.next(10) the 10 calls before that


This is helpful for creating dynamic user experiences or views of decoded data where you want to iteratively paginate over the latest activity. Happy building!

1.0.2

Introducing the Transpose Decoding SDK.

Initial launch features:

- **Simple interface**: Simple, minimal code interface to stream decoded events or calls.
- **High performance**: Streaming benchmarked at 3,000+ items per second.
- **Automatic decoding**: Automatically decode inputs/outputs for transactions and traces, and logs for events.
- **Live & historical**: Stream activity in a historical block range or live with a ~3s delay from nodes.
- **Full traces support**: Decode traces (a.k.a. internal transactions) just like transactions.
- **Multi-chain**: Supports Ethereum, Polygon, and Goerli with additional chains coming soon.
- **Event & function filtering**: Stream all events/calls in an ABI or target a specific event or function name.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.