decode_path

Documentation for eth_defi.uniswap_v3.utils.decode_path function.

decode_path(full_path_encoded)

Decodes the path. A bit tricky. Thanks to https://degencode.substack.com/p/project-uniswapv3-mempool-watcher

Parameters

full_path_encoded (bytes) – Encoded path as returned from router.decode_function_input (bytes)

Returns

Fully decoded path array including addresses and fees

Return type

list