Call a contract method without sending a transaction or changing the state

Usage

$ genlayer call [options] <contractAddress> <method>

Arguments

  • <contractAddress>
  • <method>

Options

ShortLongDescriptionRequiredDefault
--rpc <rpcUrl>RPC URL for the networkNo
-h--helpdisplay help for commandNo