0

Let's say that I have made a function foo() in the js console on node A:

function foo() {return 42;}

I would now like to execute this from node B remotely. Is this possible?

I have tried to use web3.eth.call. However, this does not seem to work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.