joshstevens19 / ethereum-multicall

Ability to call many ethereum constant function calls in 1 JSONRPC request
MIT License
361 stars 94 forks source link

Add generic response type for multicall.call() #29

Open defispartan opened 2 years ago

defispartan commented 2 years ago

Add the ability to specify a generic type for multicall response:

multicall.call<T>

This will enable adding typesafe bindings to contract calls

kasparkallas commented 2 years ago

Would love to see an integration point between this project and TypeChain!

joshstevens19 commented 2 years ago

Will take a look guys!