{"repo":"kigawas/web3-input-decoder","free":true,"listed":false,"github":"https://github.com/kigawas/web3-input-decoder","clone":"git clone https://github.com/kigawas/web3-input-decoder.git","description":"A simple offline web3 transaction input decoder for functions and constructors.","language":"Python","stars":52,"topics":["web3","ethereum"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"web3-input-decoder A simple offline web3 transaction input decoder for functions and constructors. Install Quick start Let's take a USDT transfer transaction and the USDT contract creator transaction as an example: You can also play with it on Replit. Performance enhancement If you have lots of inputs in the same contract to decode, consider using InputDecoder . API - decode constructor Parameters : - abi : Contract ABI - tx input : Transaction input to decode, with or without deployed contract bytecode - bytecode : Optional deployed contract bytecode. If this is set, tx input should include bytecode Returns : - list[tuple[str, str, Any]] : Decoded type-name-value tuples - decode function Parameters : - abi : Contract ABI - tx input : Transaction input to decode Returns : - list[tuple[str, str, Any]] : Decoded type-name-value tuples Rationale Existing solutions are not satisfying to me, e.g.: 1. web3py can only decode function calls and it's necessary to be online to set up a provider first. 2. ethereum-input-decoder is not maintained and it contains several glitches. Changelog See Releases.","default_branch":null,"files":null,"tree":[],"storefront":"/r/kigawas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kigawas/web3-input-decoder/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}