code: def get_smart_contract(self, hex_contract_address: str, is_full: bool = False) -> dict:
          
          if not isinstance(hex_contract_address, str):
              raise SDKException(ErrorCode.param_err('a hexadecimal contract address is required.'))
          if len(hex_contract_address) != 40:
              raise SDKException(ErrorCode.param_err('the length of the contract address should be 40 bytes.'))
          payload = self.generate_json_rpc_payload(RpcMethod.GET_SMART_CONTRACT, [hex_contract_address, 1])
          response = self.__post(self.__url, payload)
          if is_full:
              return response
          return response['result']
docs: This interface is used to get the information of smart contract based on the specified hexadecimal hash value.
  
          :param hex_contract_address: str, a hexadecimal hash value.
          :param is_full:
          :return: the information of smart contract in dictionary form.