xclud / web3dart

Ethereum library, written in Dart.
https://pub.dev/packages/web3dart
MIT License
180 stars 96 forks source link

A way to decode parameters from TransactionInformation.input #7

Open alexeyinkin opened 2 years ago

alexeyinkin commented 2 years ago

In ContractFunction, there is encodeCall to compose a call and decodeReturnValues to process its result.

There are use cases to do the reverse when we parse transactions and need to get the parameters with which a call was made.