How to call smart contract from a node in geth? If thats not possible from where and how 2 call it?

trial2trytrial2try Member Posts: 9
I have the the contract address. If i need to call that contract from a node in geth how can i achieve ??
If that contract contains arguments then how to pass these arguments when a call is made to the smart contract?


  • smalltalksmalltalk Member Posts: 16
    edited May 2016
    You not only need the address but also the ABI for the contract. Then you can do the following:

    var contractABI = web3.eth.contract([{ abi code }]);
    var aContract =" ContractAddress ");

    Post edited by smalltalk on
Sign In or Register to comment.