getCode method
Gets the code of a contract at the specified address
This function allows specifying a custom block mined in the past to get historical data. By default, BlockNum.current will be used.
Implementation
Future<Uint8List> getCode(EthereumAddress address, {BlockNum? atBlock}) {
return makeRPCCall<String>(
'eth_getCode', [address.hex, _getBlockParam(atBlock)]).then(hexToBytes);
}