in src/services/contract/ContractService.ts [38:48]
  export async function getDeployedBytecodeByAddress(host: string, address: string): Promise<string> {
    const defaultBlock = 'latest';
    const response = await HttpService.sendRPCRequest(host, Constants.rpcMethods.getCode, [ address, defaultBlock ]);
    if (!response || response && response.error) {
      const errorMessage = response && response.error ? response.error.message : '';
      throw new Error(`getDeployedBytecodeByAddress failed. ${errorMessage}`);
    }
    return response && response.result as string || '';
  }