1

How to read "data params" and "value result" from eth_call method on Alchemy explorer ? thanks.enter image description here

1 Answer 1

0

You can't really do that easily without the ABI.

The first portion is the function selector, followed by the data to make the call.

The data which makes that call isn't so easily determined, as ABI encoding injects the dynamic parameters early in the calldata which specifies their offset and length. These easily can be confused for hardcoded parameters for things like address, or structs of deterministic types.

With the ABI, you can decode the data into they specified type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.