Skip to main content
1 of 2
user1142433
  • 249
  • 3
  • 10

Decoding Transaction input data in Nethereum

I'm using Nethereum and see this example of how to decode the Input data of a Transaction object. http://playground.nethereum.com/csharp/id/1063

This looks like it assumes that you have to know which function data you're decoding. I have the full contract ABI, but I don't know which function was called in this transaction.

Is there a way to decode the Input data without already knowing which function it is? In EthersJs, for example, this is done simply with a ContractInterface.parseTransaction method call.

I'm also open to suggestions for other .NET based decoding solutions/libraries.

user1142433
  • 249
  • 3
  • 10