{"_id":"ethereum-tx-decoder","_rev":"10-a0a0c4a39b18ab0a9597b8fd8d101701","name":"ethereum-tx-decoder","description":"Lightweight utility for decoding function parameters from Ethereum transactions.","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.0":{"name":"ethereum-tx-decoder","version":"0.0.0","description":"Takes raw transactions and fully decodes them!","main":"index.js","scripts":{"test":"echo 'No tests yet.'"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers-contracts":"2.1.3","ethers-utils":"2.1.3"},"gitHead":"7966990c8d4ff35b65ebefe9ab2c3bc867a99ba5","_id":"ethereum-tx-decoder@0.0.0","_shasum":"b28e9ef89bc84169499337a06441fefe716ccdc3","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"dist":{"shasum":"b28e9ef89bc84169499337a06441fefe716ccdc3","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-0.0.0.tgz","integrity":"sha512-1EivfObWtQpAkJZqUgBhhv1CFJS/KZo10AM5pUfxBh5aCYQW3na+WG7gmNyfYYqEPwlAd9ozmx9mAhfw16/RZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2BihE96WkjK82DrJg/KegDUerR6L817wQu71EKFQFKAiA5w31vNtcM7Jgo65L0F64h5U0sLNN5VNXt2CoweAqPNA=="}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder-0.0.0.tgz_1509249534712_0.7012776872143149"},"directories":{}},"0.0.1":{"name":"ethereum-tx-decoder","version":"0.0.1","description":"Takes raw transactions and fully decodes them!","keywords":["ethereum","transaction","smart","contract","abi","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"},"homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","main":"index.js","scripts":{"test":"echo 'No tests yet.'"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers-contracts":"2.1.3","ethers-utils":"2.1.3"},"gitHead":"d9e275e62aa4aedc287d50fca95c83dc2dba342c","_id":"ethereum-tx-decoder@0.0.1","_shasum":"67d4b55297d4101f01e81e183cc7614082a30880","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"dist":{"shasum":"67d4b55297d4101f01e81e183cc7614082a30880","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-0.0.1.tgz","integrity":"sha512-nJNrx3hRclQbkWdRYaGwWGxA7CdJ89lDddFdBg6ljoozbWFw8QXJivKRH3S7IZgx9OMht1a1eaQqKFuCNbC/4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVNNrsJpU6sS82sLnWXI6wsf3eiqzVt7PGgPxBPjPxqAiEAkCJw6QlIuO6OIKRqEEvPCEFNkyCwk7q8xL0JEw33Ljs="}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder-0.0.1.tgz_1509250577859_0.9537561628967524"},"directories":{}},"1.0.0":{"name":"ethereum-tx-decoder","version":"1.0.0","description":"Lightweight utility for decoding function parameters from Ethereum transactions.","keywords":["ethereum","transaction","smart","contract","abi","function","functions","parameters","params","event","events","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"},"homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","main":"index.js","scripts":{"test":"mocha test/"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers-contracts":"2.1.3","ethers-utils":"2.1.3"},"devDependencies":{"ethers-wallet":"2.1.3","mocha":"4.0.1"},"gitHead":"84929bb0245374ab8322dce256148f4b8247ea63","_id":"ethereum-tx-decoder@1.0.0","_shasum":"922e5a318b800d787558407a2e64bf740494adc4","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"dist":{"shasum":"922e5a318b800d787558407a2e64bf740494adc4","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-1.0.0.tgz","integrity":"sha512-RdT2COjFmN6EdXwWcFShMfMPm+GmVGwCIYZj1wXI4ANc/hWiV6dhKRzzd7Vo7cS4mdqWRKvkQhh4aYUJKfgbkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBTWJV5JV7oFNV+6aTl+ws5Z8BrZlpeuI6ibLkOw7eBAiBB7WwH0fpRcnD71H6IOMj1w0By8Ci7hkhHwqDry8ZTsA=="}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder-1.0.0.tgz_1509326105940_0.5219194060191512"},"directories":{}},"1.0.1":{"name":"ethereum-tx-decoder","version":"1.0.1","description":"Lightweight utility for decoding function parameters from Ethereum transactions.","keywords":["ethereum","transaction","smart","contract","abi","function","functions","parameters","params","event","events","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"},"homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","main":"index.js","scripts":{"test":"mocha test/"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers-contracts":"2.1.3","ethers-utils":"2.1.3"},"devDependencies":{"ethers-wallet":"2.1.3","mocha":"4.0.1"},"gitHead":"22b4bca935eacc87910699bcf696f6cbcfc991be","_id":"ethereum-tx-decoder@1.0.1","_shasum":"4e8f218638191a4c9051e42b7a02ab35cadb2dc8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"dist":{"shasum":"4e8f218638191a4c9051e42b7a02ab35cadb2dc8","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-1.0.1.tgz","integrity":"sha512-UOIyNAPY1/SYkzZy4tvOcuAgT8ijNmESCOZODF4xxMWA9UHVZqeO9iwowD4QYDY7EpJunWidEKzN1F+zyY4Tmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvSp7DQeaQMyTDnh0u0Ovmx5o2EabJUSIMdOiaYoMhgAiAtS4Z0BPohVNvToIiIcfE4HfockbH9tXEuXcaILxltfQ=="}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder-1.0.1.tgz_1509417496830_0.32628742838278413"},"directories":{}},"1.0.2":{"name":"ethereum-tx-decoder","version":"1.0.2","description":"Lightweight utility for decoding function parameters from Ethereum transactions.","keywords":["ethereum","transaction","smart","contract","abi","function","functions","parameters","params","event","events","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"},"homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","main":"index.js","scripts":{"test":"mocha test/"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers-contracts":"^2.1.0","ethers-utils":"^2.1.0"},"devDependencies":{"ethers-wallet":"2.1.3","mocha":"4.0.1"},"gitHead":"d430e186e69ae7603cbcf7820384d7fc2eb5573a","_id":"ethereum-tx-decoder@1.0.2","_shasum":"01c44969baf04e695606d0e64edfcf60a3c7f607","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.0","_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"dist":{"shasum":"01c44969baf04e695606d0e64edfcf60a3c7f607","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-1.0.2.tgz","integrity":"sha512-RIZgidNzCG/ZhMtKdQmo5JXTyXcOzELbOz3MnurQrh5qxtfmV1QZWfTgK2YaN8ejmGF+piyAqZ4kgZsuICzS/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuGPmgusWlZjtOBrYFGEFmuTuVYfWRtpYcYoE8v5SqKgIhAKHFtIyfNIg1dkhoZ+UEvGT6oow1uDcl6cdBDjfizpx9"}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder-1.0.2.tgz_1511121736085_0.8713535205461085"},"directories":{}},"2.0.0":{"name":"ethereum-tx-decoder","version":"2.0.0","description":"Lightweight utility for decoding function parameters from Ethereum transactions.","keywords":["ethereum","transaction","smart","contract","abi","function","functions","parameters","params","event","events","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"},"homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","main":"./src","scripts":{"test":"mocha test/"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers":"^3.0.15"},"devDependencies":{"mocha":"5.1.1"},"gitHead":"6f48908c2bf6f20491ee24f1e57d031327faf682","_id":"ethereum-tx-decoder@2.0.0","_shasum":"09737ecd9e09d3875ff51e69490a652e0f319913","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.0","_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"dist":{"shasum":"09737ecd9e09d3875ff51e69490a652e0f319913","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-2.0.0.tgz","fileCount":8,"unpackedSize":6297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa91giCRA9TVsSAnZWagAAUZQP/AmJlbmC9l8y4IyxF8B5\nJPJ9+pe6yEXpCWuCRzVT6EOEldc4+BW9lhu0l9SED9yFYtvPUhJPhvk/WdfQ\n2CWcY8SpP/EDsOecLn8mCVl/+ACZmmBEvq4WthMw/id8t9bTzatSTZiBLtaK\n/ZMw6NOdmPVA8D89M2GErNLEHStDQ2fHceUQvxSqNAhL/+Rnktf79Mqx8tgc\n3TBuIRKNY1qu900116TxMW7kBMTpYCQ+9pq9iUhrpMn1yzOj0uNN8iNASQSb\nL3N9v3q83MrmboHDEcG/QI4haGhqFIJNxe692juOlJNuIVl2VPdnFv0AqRFW\ne1M1Wk90XyHYp7GqPA8fJxsfzqPru6USgqH9GdMDacuvKLiLTlFIhSogi0IS\nGvjRJ0SDasW29c4tkcbPOj3V8jWzat+jgKkGiYYA5BMbEKAUcvQvrX6vlMpA\neyzRrKtW5l9lBHTGygv16fpq3OZee0lsjH5MiNxbXzVZzL3O4MxJn1X6Zzf+\nVHlL+2GGbI/YNvUL92Tvfoqug1GicA0ax2Tkb4M4wy486XgGjz1Ud/FrejrS\nAbADkMi8eOsHjG/rtqAcS0tN+O2mgiWQRdbI3w/A0zYZa3tJxWNIQ5m8M/Np\nhd21sztFtHCUoNP1SkwsitNuXXE8p0JUUeSPI55p4o1Ck2QjRutQ+a1nqCsB\nLqlD\r\n=RGQn\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-wXFvUKxKIoKV7WciFOkePG1gYC6Ot0YQJfelgRi0g4wpysGwLHTfZoQqg4PPjzRp2gKsuFwvv+p3ha4plnSByg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO77GLslD/WJPV/a+4k45Ue4SjTIdA5w7YzLq++99QFQIhAIbo0UQMMjYPzFYP2L2bPQgtKNWHRPQsYmyKkrbGHAaf"}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder_2.0.0_1526159393003_0.9201423698765951"},"_hasShrinkwrap":false},"2.0.1":{"name":"ethereum-tx-decoder","version":"2.0.1","description":"Lightweight utility for decoding function parameters from Ethereum transactions.","keywords":["ethereum","transaction","smart","contract","abi","function","functions","parameters","params","event","events","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"},"homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","main":"./src","scripts":{"test":"mocha test/"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers":"^3.0.15"},"devDependencies":{"mocha":"5.1.1"},"gitHead":"0f602504365427fbc62b89bd2429733c1a0ad552","_id":"ethereum-tx-decoder@2.0.1","_shasum":"76a84f7951a91859e5db6531705845a54bd0cb6c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.0","_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"dist":{"shasum":"76a84f7951a91859e5db6531705845a54bd0cb6c","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-2.0.1.tgz","fileCount":8,"unpackedSize":6192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/Qp5CRA9TVsSAnZWagAA4fEP/3/VWQwx/Avh/8wxoviz\nE2FFKEvtm2SLdd74BQ/r+7NzJrpby3NgvJwxV1haw/AqJkOMzwXOw7O0r1Ye\n+eVi4iKcSrDygCHEIjlXbgruoZ9y8/Z3j/XHEOqQKnJiHSxJ4hEcCt2G07ux\nVU9ckC/sFoLEQS2gEoaqh/4hVAYmWj+Y38SVHGk4ltdgiOIIDfDj88a9r58P\nkWVTzoCZidMgGC/F57C35U6Lk5J70CnalagsNcXKAYUZDIalsYK2tiRA+Hrd\nMs4hm/xzLRjK7tQGz3cc+ldBgQwk8slmpOKTy3zyydGahLSc4hiPGhyyiRLI\nKqHWwYV2UnTEwK4ukkTCeNJv29fXBFPW0eGDF4+UOfHfc5MZYhCXpy4RsUWv\nRxIjH+/zomhRaxvWj7i1SkAdstOXqhhluWZ7/OOlFlOWlJlZfVEIzEOta7Az\nEqGbjohoFE27kmQSwhPZ73ToW9iO2tJYkRUg+nrWJ08Ogs6nYY6ds15zvxu+\nFRnA7nMvP6oNhTl7z//0v+EagFaLI+jKxm12DOSeyjm2wxzlzjYhdtmbJOhU\nDJ2EbeRe/6ond7ZU+2f0CuBQABQuAIhGzKyid5kKVsCg2gT72wfVibWNJAiY\ngMilf+omMIV2ureLojx7hYsqeRgKurWIBXTcD/9zeOSHf0L8No4hx5x6EkLM\nrvU1\r\n=r7HT\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-66fKFS7G+7HdCy2oVCodoi+11k8nVOdJ/lOofMsY+3qStkcRZfLeGIqT0TlCVWom723l1t+NiodSA+Lj1lmhwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGP5eK9Y1GXeLS3gJuNuXrmuZL2Q2jsYqVyWo+wyQWOdAiEAlvQgqGYp2soGVEsHiSdS5d7VeudvSDcwrYIJqKQPaXI="}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder_2.0.1_1526532728593_0.8609738755044862"},"_hasShrinkwrap":false},"3.0.0":{"name":"ethereum-tx-decoder","version":"3.0.0","description":"Lightweight utility for decoding function parameters from Ethereum transactions.","keywords":["ethereum","transaction","smart","contract","abi","function","functions","parameters","params","event","events","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"},"homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","main":"./src","scripts":{"test":"mocha test/"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","dependencies":{"ethers":"^4.0.37"},"devDependencies":{"mocha":"5.1.1"},"gitHead":"6e258e5306e530e3b767e9a1a9d9f72736bc5dc5","_id":"ethereum-tx-decoder@3.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-l+/K/CNAobJjfGs6lO4RrR17KQrwESrGH2GrkASn7MH2FAJRkItFP21Iy2fCOUjy1Y1nBVoTO6w1GPCgVQH2hg==","shasum":"7ef704c1b7e228128cdb81d6a3d2ab57a378b90f","tarball":"https://registry.npmjs.org/ethereum-tx-decoder/-/ethereum-tx-decoder-3.0.0.tgz","fileCount":7,"unpackedSize":6161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiAz/CRA9TVsSAnZWagAAgc0P/2Q/WOn9MPG3Vmp1VknM\nT01JuONC9Inp/KW2lY5OXjj6zIdAiFLMg/CB5aKAGuW472+s5FTg8zK2NcDZ\nWJ0CfPXsptVuAa2rfDpoCPcWaCwPAn/qDSxVoJTJrCJtcjAWaH6K9yZzQDhv\n8TJhIXoIql51StWb1+u8TOCNWEhF2kHAXw3K1acWI1C1cJwCUXHn3ONzZTQE\n+BTENgFoND/IRp4iH7nyqaIsKqnLBoKVDUu8pAEowvKLFeDT43bUaKrUG/fC\nS/8fzLMvmTbOzRZ/kXuc6J0+vZqEQdxZdfQibGJyUYRNjidj9tctcj3Pymsz\nzGVM/u4rVVsMXRw4gnin9zxtokl2q7/EakvZYenM+cIXyPbuZbyIIfpNS/h9\nblqGIZK/hl6kTIvhFZZQkfQB8ENiFXDPM6jh/TkQaDAarabZZ+fOunsbMLG4\nJuFZK3Uvava/yJDR2/saf4liKq7AOllVUPoo9IRNScJMjcKT7FlvPF2xRf1b\nv9cSZiGK3B2FJV6SpH04i+YQpKhWU9ZHEvm1ja3bqve/fRrYua/OBHwRfSXI\nKZohCX/LE+uVWu4ltIbFeXXoYmPXXNAEyWy9XiOzZfyufTybgQrEXWJYANMp\nfEVxreq6oYkX+KtABw78P4x0+mCws8u/7EgD1HZxjJlaLeWm7TCMgeVvWZCj\nUnRW\r\n=AtAA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA68hCif0qSVT6OCK93kHVMSzsfQHiQKvdI1MTdxQSwIAiBKpa64wa2B+phL1Ypv4CxTOfxyfPLXEoS5/l1NhUCYkw=="}]},"maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"_npmUser":{"name":"gfjhogue","email":"gfjhogue@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-tx-decoder_3.0.0_1569197311175_0.5852085557863593"},"_hasShrinkwrap":false}},"readme":"# ethereum-tx-decoder\n\n[![npm version](https://badge.fury.io/js/ethereum-tx-decoder.svg)](https://badge.fury.io/js/ethereum-tx-decoder)[![Build Status](https://travis-ci.org/GFJHogue/ethereum-tx-decoder.svg?branch=master)](https://travis-ci.org/GFJHogue/ethereum-tx-decoder)\n\nLightweight utility for decoding function parameters from Ethereum transactions.\n\n- Minimal dependencies.\n\n- Find the exact function parameters that triggered an event.\n\n- _[Built with ethers.js by ricmoo](https://github.com/ethers-io/ethers.js/)_.\n\n## Usage\n\n`npm i ethereum-tx-decoder`\n\n### `decodeTx()`\n\nDecode raw transactions into an Object.\n\n```js\n  var txDecoder = require('ethereum-tx-decoder');\n\n  // transaction.raw = '0x...'\n  var decodedTx = txDecoder.decodeTx(transaction.raw);\n  //  {\n  //    nonce:    Number\n  //    gasPrice: BigNumber\n  //    gasLimit: BigNumber\n  //    to:       string (hex)\n  //    value:    BigNumber\n  //    data:     string (hex)\n  //    v:        Number\n  //    r:        string (hex)\n  //    s:        string (hex)\n  //  }\n```\n\nNeed to know `from` or `chainId`? Use [`ethers.Wallet.parseTransaction()`](https://docs.ethers.io/ethers.js/html/api-wallet.html#parsing-transactions) instead.\n\n### `class FunctionDecoder`\n\nDecode function call data into the original parameter values.\n\n#### New instance with [`ethers.Contract`](https://github.com/ethers-io/ethers.js/):\n\n```js\n  // contract = new Contract(address, abi, provider)\n  var fnDecoder = new txDecoder.FunctionDecoder(contract.interface);\n```\n\n#### New instance with contract `abi`:\n\n```js\n  // Internally creates an ethers.Interface object.\n  var fnDecoder = new txDecoder.FunctionDecoder(abi);\n```\n\n#### `decodeFn()`\n\n```js\n  fnDecoder.decodeFn(decodedTx.data);\n  //  Result {\n  //    ...All function parameters indexed by both name and position...\n  //  }\n```\n\nNote: `decodeFn()` returns an [`Arrayish`](https://docs.ethers.io/ethers.js/html/api-utils.html#api-arrayish).\n\n### `decodeFnFromTx()`\n\nShortcut for decoding a function from transaction.\n\n```js\n  fnDecoder.decodeFnFromTx(transaction.raw);\n```\n\n## BigNumber\n\n[BigNumber Documentation (ethers.js)](https://docs.ethers.io/ethers.js/html/api-utils.html#big-numbers)\n","maintainers":[{"name":"gfjhogue","email":"gfjhogue@gmail.com"}],"time":{"modified":"2022-06-17T21:07:45.923Z","created":"2017-10-29T03:58:55.563Z","0.0.0":"2017-10-29T03:58:55.563Z","0.0.1":"2017-10-29T04:16:18.807Z","1.0.0":"2017-10-30T01:15:06.847Z","1.0.1":"2017-10-31T02:38:17.922Z","1.0.2":"2017-11-19T20:02:17.101Z","2.0.0":"2018-05-12T21:09:53.155Z","2.0.1":"2018-05-17T04:52:08.684Z","3.0.0":"2019-09-23T00:08:31.332Z"},"author":{"name":"Gregory F. J. Hogue"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/GFJHogue/ethereum-tx-decoder#readme","keywords":["ethereum","transaction","smart","contract","abi","function","functions","parameters","params","event","events","decoder","decode","RLP","parse","parser","ethers","ethers.js","ether","eth","raw","tx"],"repository":{"type":"git","url":"git+https://github.com/GFJHogue/ethereum-tx-decoder.git"},"bugs":{"url":"https://github.com/GFJHogue/ethereum-tx-decoder/issues"}}