getCode method

Future<String> getCode(
  1. String address, [
  2. dynamic blockTag
])

Returns the contract code of address as of the blockTag block height. If there is no contract currently deployed, the result is 0x.

Implementation

Future<String> getCode(String address, [dynamic blockTag]) => call<String>(
    'getCode', blockTag == null ? [address] : [address, blockTag]);