tomusdrw / rust-web3

Ethereum JSON-RPC multi-transport client. Rust implementation of web3 library. ENS address: rust-web3.eth
MIT License
1.45k stars 465 forks source link

Is there any API can call a contract function and returns the execution result of that function? #608

Closed hzqd closed 2 years ago

hzqd commented 2 years ago

I find two function to call a contract function, they are <Contract<_>>.call() and <Contract<_>>.call_with_confirmations(). But I don't find any function that returns the execution result of a contract function. Is there already have this API but I do not know?

hzqd commented 2 years ago

See #611